Commit 599af548 authored by Bartek Górny's avatar Bartek Górny

fixed catalog call (now requires table name)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12492 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cc92bfe9
...@@ -90,7 +90,8 @@ if context.getLanguage() is not None:\n ...@@ -90,7 +90,8 @@ if context.getLanguage() is not None:\n
\n \n
lst=[]\n lst=[]\n
for t in ss:\n for t in ss:\n
lst += context.portal_catalog(SearchableText=\'%\' + t + \'%\')\n kw = {\'full_text.SearchableText\':\'%\' + t + \'%\'}\n
lst += context.portal_catalog(**kw)\n
\n \n
return lst\n return lst\n
</string> </value> </string> </value>
...@@ -150,6 +151,7 @@ return lst\n ...@@ -150,6 +151,7 @@ return lst\n
<string>lst</string> <string>lst</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>t</string> <string>t</string>
<string>_apply_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
473 477
\ 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