Commit 3bd34b39 authored by Nicolas Delaby's avatar Nicolas Delaby

handle case when selection_name is not stored on request

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29427 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc915225
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
<span class="image"></span>\n <span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Previous</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Previous</span>\n
</a>\n </a>\n
<a class="list_mode" title="List Mode" tal:attributes="href python: here.portal_selections.getSelectionListUrlFor(request[\'selection_name\'])"\n <a class="list_mode" title="List Mode" tal:attributes="href python: here.portal_selections.getSelectionListUrlFor(request.get(\'selection_name\', None))"\n
i18n:attributes="title" i18n:domain="ui">\n i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n <span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">List Mode</span>\n <span class="description" i18n:translate="" i18n:domain="ui">List Mode</span>\n
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
<span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n
</button>\n </button>\n
<button type="submit" name="Folder_filter:method" title="Filter"\n <button type="submit" name="Folder_filter:method" title="Filter"\n
tal:attributes="class python: here.portal_selections.getSelectionInvertModeFor(request[\'selection_name\']) and \'filter_on\' or \'filter\';"\n tal:attributes="class python: here.portal_selections.getSelectionInvertModeFor(request.get(\'selection_name\', None)) and \'filter_on\' or \'filter\';"\n
i18n:attributes="title" i18n:domain="ui">\n i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n <span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n
......
836 837
\ 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