[Zope-dev] keyword indexes

Dieter Maurer dieter@handshake.de
Fri, 15 Dec 2000 22:33:24 +0100 (CET)


Josh Zeidner writes:
 >  <dtml-in "Catalog.searchResults( MediaKeywords = ['ouch'] )">
This should work.
Alternatively: "MediaKeywords = 'ouch'".

 >  <dtml-in "Catalog.searchResults( MediaKeywords in ['ouch'] )">
This calls the catalog without any keyword arguments
and with a single positional parameter 0.
The catalog interprets this as "no search criteria" and returns
all objects.


Dieter