Ignore:
Timestamp:
27 Jan 2015, 08:31:34 (10 years ago)
Author:
Henrik Bettermann
Message:

Export datasets of selected items specified by a list of identifiers. Will be used in students and applicants modules.

File:
1 edited

Legend:

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

    r12232 r12516  
    211211        exporter = getUtility(ICSVExporter, name=exporter_name)
    212212        exporter_title = getattr(exporter, 'title', 'Unknown')
    213         args = ', '.join(['%s=%s' % (item[0], item[1])
    214             for item in job.kwargs.items()])
     213        if not job.kwargs.has_key('selected'):
     214            args = ', '.join(['%s=%s' % (item[0], item[1])
     215                for item in job.kwargs.items()])
     216        else:
     217            args = 'selection'
    215218        status = job.finished and 'ready' or 'running'
    216219        status = job.failed and 'FAILED' or status
Note: See TracChangeset for help on using the changeset viewer.