Commit 4bd1c14c authored by Sebastien Robin's avatar Sebastien Robin

shame on me

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e8cf012
......@@ -279,9 +279,9 @@ class FolderMixIn(ExtensionClass.Base):
# Remove useless matter before calling the
# catalog. In particular, consider empty
# strings as None values
for cname in kw.keys():
if kw[cname] != '' and kw[cname]!=None:
kw2[cname] = kw[cname]
#for cname in kw.keys():
# if kw[cname] != '' and kw[cname]!=None:
# kw2[cname] = kw[cname]
# The method to call to search the folder
# content has to be called z_search_folder
method = self.portal_catalog.countResults
......
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