Commit 16d119af authored by Bartek Górny's avatar Bartek Górny

minor fixes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10641 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c5be71ee
......@@ -70,8 +70,10 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
context.log(kw)\n
args=context.parseSearchString(kw.get(\'SearchableText\',\'\'))\n
args[\'portal_type\']=context.getPortalDocumentTypeList()\n
if not args.has_key(\'portal_type\') or args[\'portal_type\']==():\n
args[\'portal_type\']=context.getPortalDocumentTypeList()\n
cats=[]\n
bases=context.portal_categories.getBaseCategoryList()\n
for k,v in args.items():\n
......@@ -163,13 +165,13 @@ return res\n
<string>_getattr_</string>
<string>context</string>
<string>args</string>
<string>_getitem_</string>
<string>_write_</string>
<string>cats</string>
<string>bases</string>
<string>_getiter_</string>
<string>k</string>
<string>v</string>
<string>_getitem_</string>
<string>cf</string>
<string>ct</string>
<string>mf</string>
......
......@@ -63,7 +63,7 @@
<list>
<string>a</string>
<string>left</string>
<string>bottom</string>
<string>center</string>
</list>
</value>
</item>
......@@ -78,7 +78,7 @@
</value>
</item>
<item>
<key> <string>bottom</string> </key>
<key> <string>center</string> </key>
<value>
<list>
<string>html_representation</string>
......
248
\ No newline at end of file
254
\ 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