23 Mar
2005
23 Mar
'05
2:04 p.m.
Yuri wrote:
this is an "already discussed issue" :)
http://www.dzug.org/mailinglisten/zope-org-zope/archive/2003/2003-12/1070709...
That thread seems pretty confused :-S
The ZCatalog treats an empty *string* in a special way to support[...]
"AND"[...]
Not really to support AND, it treats it in a special way to support html search forms that send empty strings when a field is left empty...
I've solved it in /PluginIndexes/common/util.py. When the param is a record, around line 95, I've added:
if keys == ['']: keys = None
Is it correct?
Almost certainly not. Please raise an issue in the collector so we can tackle this properly... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk