Commit bc02232f authored by Jérome Perrin's avatar Jérome Perrin

set ignore_hide_rows when jumping to a listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32960 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ae15559
...@@ -117,11 +117,13 @@ else:\n ...@@ -117,11 +117,13 @@ else:\n
if related:\n if related:\n
return context.getPortalObject().getDefaultModule(portal_type[0]).Base_redirect(\n return context.getPortalObject().getDefaultModule(portal_type[0]).Base_redirect(\n
\'view\', keep_items={\'default_%s_uid\' % base_category: relation.getUid(),\n \'view\', keep_items={\'default_%s_uid\' % base_category: relation.getUid(),\n
\'ignore_hide_rows\': 1,\n
\'reset\': 1})\n \'reset\': 1})\n
get_uid_method = getattr(relation, \'get%sUidList\' % getter_base_name)\n get_uid_method = getattr(relation, \'get%sUidList\' % getter_base_name)\n
return context.getPortalObject().getDefaultModule(portal_type[0]).Base_redirect(\n return context.getPortalObject().getDefaultModule(portal_type[0]).Base_redirect(\n
\'view\', keep_items=dict(\n \'view\', keep_items=dict(\n
reset=1,\n reset=1,\n
ignore_hide_rows=1,\n
uid=get_uid_method(portal_type=portal_type,\n uid=get_uid_method(portal_type=portal_type,\n
checked_permission=\'View\')))\n checked_permission=\'View\')))\n
\n \n
......
1485 1486
\ No newline at end of file \ No newline at end of file
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