Ignore:
Timestamp:
6 Jun 2018, 11:10:07 (7 years ago)
Author:
Henrik Bettermann
Message:

Fix CourseTicketExporter. Ticket level and session filter did not work.

Add payment category filter to payment exporters. Optimize Python code.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r15032 r15042  
    220220        if not job.kwargs.has_key('selected'):
    221221            args = ', '.join(['%s=%s' % (item[0], item[1])
    222                 for item in job.kwargs.items()])
     222                for item in job.kwargs.items()
     223                if item[1] not in ('all', '', None)])
    223224        else:
    224225            args = 'selection'
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py

    r14939 r15042  
    447447        self.assertTrue(
    448448            'zope.mgr - students.browser.DatacenterExportJobContainerJobConfig '
    449             '- exported: students (None, None, None, None, None, None, None, None), '
     449            '- exported: students '
     450            '(None, None, None, None, None, None, , , all, all, all), '
    450451            'job_id=%s'
    451452            % job_id in logcontent)
Note: See TracChangeset for help on using the changeset viewer.