Ignore:
Timestamp:
27 May 2023, 08:17:14 (18 months ago)
Author:
Henrik Bettermann
Message:

Forward form parameters.

File:
1 edited

Legend:

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

    r17424 r17426  
    5050class CustomExportCSVPage(ExportCSVPage):
    5151
    52     def update(self):
     52    def update(self, CREATE=None, DISCARD=None, PURGE=None, exporter=None,
     53               job_id=None, CANCEL=None):
    5354        if self.request.principal.id not in (
    5455            'admin', 'zope.manager', 'zope.mgr', 'amadin'):
     
    5657                       type='warning')
    5758            return self.redirect(self.url(self.context))
    58         return super(CustomExportCSVPage,self).update()
     59        return super(CustomExportCSVPage,self).update(CREATE, DISCARD,
     60            PURGE, exporter, job_id, CANCEL)
    5961
    6062class CustomReportsContainerPage(ReportsContainerPage):
    6163
    62     def update(self):
     64    def update(self, job_id=None, DISCARD=None, DOWNLOAD=None, PURGE=None):
    6365        if self.request.principal.id not in (
    6466            'admin', 'zope.manager', 'zope.mgr', 'amadin'):
     
    6668                       type='warning')
    6769            return self.redirect(self.application_url())
    68         return super(CustomReportsContainerPage,self).update()
     70        return super(CustomReportsContainerPage,self).update(
     71            job_id, DISCARD, DOWNLOAD, PURGE)
Note: See TracChangeset for help on using the changeset viewer.