Commit 64bbab98 authored by Ivan Tyagov's avatar Ivan Tyagov

Fix script after changes in r28412

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28413 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 376834bb
...@@ -72,7 +72,8 @@ if getWebSectionValue is not None and \\\n ...@@ -72,7 +72,8 @@ if getWebSectionValue is not None and \\\n
search_context = getWebSectionValue()\n search_context = getWebSectionValue()\n
if list_style is None:\n if list_style is None:\n
kw.update({\'list_style\':\'search\'})\n kw.update({\'list_style\':\'search\'})\n
else:\n \n
if search_context is None:\n
search_context = context.getPortalObject()\n search_context = context.getPortalObject()\n
\n \n
return search_context.Base_redirect(\'ERP5Site_viewSearchResult\', keep_items=kw)\n return search_context.Base_redirect(\'ERP5Site_viewSearchResult\', keep_items=kw)\n
......
1277 1278
\ 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