Ignore:
Timestamp:
Mar 27, 2010, 3:59:30 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
ae83758
Parents:
8a0d18c
git-author:
Alex Dehnert <adehnert@…> (03/27/10 15:59:30)
git-committer:
Alex Dehnert <adehnert@…> (03/27/10 15:59:30)
Message:

Oops. Q uses "|", not "or".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/finance_core/reporting.py

    r8a0d18c ree37f93  
    6161    areas = base_area.get_descendants()
    6262    if term:
    63         areas = areas.filter(Q(always=True) or Q(budget_term=term))
     63        areas = areas.filter(Q(always=True) | Q(budget_term=term))
    6464    axis = [
    6565        (
Note: See TracChangeset for help on using the changeset viewer.