Changes between Version 26 and Version 27 of S3XRC/ResourceReport


Ignore:
Timestamp:
08/28/10 19:55:37 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3XRC/ResourceReport

    v26 v27  
    340340            resource = r.resource
    341341            table = resource.table
    342             filter = resource.get_query()
     342            query = resource.get_query()
    343343
    344344            from datetime import date, datetime, time
     
    358358                    date_query = q
    359359
    360             # Add our filter and rebuild the resource query
    361             filter = filter & date_query
    362             resource.build_query(filter=filter)
     360            # Add our filter
     361            query = query & date_query
    363362
    364363            # Get the total costs