Commit 39079fce authored by Sebastien Robin's avatar Sebastien Robin

make sure the filter button works properly


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1037 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07edcaca
...@@ -282,7 +282,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -282,7 +282,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
""" """
selection = self.getSelectionFor(selection_name, REQUEST=REQUEST) selection = self.getSelectionFor(selection_name, REQUEST=REQUEST)
if selection is not None: if selection is not None:
selection.edit(invert_mode=1, uids=selection_uids) selection.edit(invert_mode=1, uids=selection_uids, checked_uids=selection_uids)
security.declareProtected(ERP5Permissions.View, 'setSelectionToAll') security.declareProtected(ERP5Permissions.View, 'setSelectionToAll')
def setSelectionToAll(self, selection_name, REQUEST=None): def setSelectionToAll(self, selection_name, REQUEST=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment