[Zope] ZCatalog eliminate duplicate

Andreas Muenster andreas.muenster@gmx.at
Mon, 11 Jun 2001 09:00:56 +0200


Hi everybody !

I just have 2 simple questions:

How do I avoid getting duplicate Results in a ZCatalog query like this

<dtml-let
res="Catalog(body=search_text)+Catalog(PrincipiaSearchSource=search_text)+Ca
talog(title=search_text)+Catalog(id=search_text)">

and how can i filter out unauthorized documents:

e.g.: <dtml-in res size=50 start=query_start skip_unauthorized>
doesnt work

if i filter it out with dtml code in the <dtml-in res ...> statement how can
I then change the counter ? Otherwise if 49 documents are unauthorized just
one will show up.

Thx in Advance

Andreas Muenster