Commit 692412d6 authored by Vincent Pelletier's avatar Vincent Pelletier

In explanation about manual checks on catalog result, remove a case (out of 3)...

In explanation about manual checks on catalog result, remove a case (out of 3) which is not true any more.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27349 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d895561
......@@ -238,18 +238,6 @@ class ERP5UserManager(BasePlugin):
# | foo |
# +-----+
# 1 row in set (0.01 sec)
# " foo", "foo " and other padding variations because of
# ZSQLCatalog (feature ?):
# (Pdb) print portal.portal_catalog.unrestrictedSearchResults(\
# portal_type="Person", reference=' foo ', src__=1)
# SELECT DISTINCT
# catalog.path, catalog.uid
# FROM
# catalog AS catalog
# WHERE
# 1 = 1
# AND (((((catalog.portal_type = 'Person'))))) AND (((((catalog.reference = 'foo')))))
# LIMIT 1000
# "bar OR foo" because of ZSQLCatalog tokenizing searched sgtrings
# by default (feature).
result = [x.path for x in result if (not exact_match)
......
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