send report params form with get request
This commit is contained in:
parent
d09e2a9d0a
commit
16b5665bfa
2 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div metal:define-macro="header">
|
||||
<metal:block use-macro="view/concept_macros/concepttitle" />
|
||||
<form method="post" name="report_data" class="report-meta">
|
||||
<form method="get" name="report_data" class="report-meta">
|
||||
<input type="hidden" name="show_results" value="True" />
|
||||
<tal:hidden define="params item/dynamicParams"
|
||||
tal:condition="nothing">
|
||||
|
|
|
@ -68,7 +68,7 @@ class ChangeManager(BaseRecordManager):
|
|||
type = self.context.getType()
|
||||
return type and getName(type) in opt
|
||||
return False
|
||||
else:
|
||||
else:
|
||||
return bool(opt)
|
||||
|
||||
def recordModification(self, action='modify', **kw):
|
||||
|
@ -117,10 +117,10 @@ def recordAdding(obj, event):
|
|||
|
||||
@adapter(ILoopsObject, IAssignmentEvent)
|
||||
def recordAssignment(obj, event):
|
||||
ChangeManager(obj).recordModification('assign',
|
||||
ChangeManager(obj).recordModification('assign',
|
||||
event=event, relation=event.relation)
|
||||
|
||||
@adapter(ILoopsObject, IDeassignmentEvent)
|
||||
def recordDeassignment(obj, event):
|
||||
ChangeManager(obj).recordModification('deassign',
|
||||
ChangeManager(obj).recordModification('deassign',
|
||||
event=event, relation=event.relation)
|
||||
|
|
Loading…
Add table
Reference in a new issue