Changeset 3091

Show
Ignore:
Timestamp:
11/30/06 22:52:17 (17 years ago)
Author:
jerome
Message:

Prepare code so that the data dumper will be able to use the jobid as
a filter key.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r3086 r3091  
    16941694        enddate = extractonly.get("end") 
    16951695        (startdate, enddate) = self.cleanDates(startdate, enddate) 
    1696         entries = self.retrieveHistory(user, printer, hostname=extractonly.get("hostname"), billingcode=extractonly.get("billingcode"), limit=None, start=startdate, end=enddate) 
     1696        entries = self.retrieveHistory(user, printer, hostname=extractonly.get("hostname"), billingcode=extractonly.get("billingcode"), jobid=extractonly.get("jobid"), limit=None, start=startdate, end=enddate) 
    16971697        if entries : 
    16981698            result = [ ("username", "printername", "dn", "jobid", "pagecounter", "jobsize", "action", "jobdate", "filename", "title", "copies", "options", "jobprice", "hostname", "jobsizebytes", "md5sum", "pages", "billingcode", "precomputedjobsize", "precomputedjobprice") ]