[Zope] MetaPublisher's Search

Heimo Laukkanen huima@fountainpark.org
Thu, 03 Jan 2002 15:22:36 +0200


I am using Zope 2.4 and noticed that MetaPublishers ( 1.26 ) Search
doesnt work, it returns all the mp-entries regardless of search
parameters. From the MP-mailing list I noticed that others have had the
same problem, but no one has answered their questions.

I noticed that the ZCatalog had no indexes for metaentries' fields.
There was only the id and bobobase-modification fields stored in the
Catalog.

Has others noticed this problem recently and is there something that
Behiive-people are doing - or should I manually just punch the indexes
into Catalog? ,-)

Code in report_dtml:
--------------------
<dtml-in mp_catalog>
<tr>
<td><em><dtml-var sequence-number>.</em></td>
<dtml-in "[_['sequence-item'].id]">
<td><dtml-var
"mp_entries.getEntryField(_['sequence-item'],'f1010053280')"></td>
<td><dtml-var
"mp_entries.getEntryField(_['sequence-item'],'f1010053302')"
newline_to_br></td>
<td><a href="view_html?key=<dtml-var sequence-item>">View</a></td>
<td><a href="edit_html?key=<dtml-var sequence-item>">Edit</a></td>
</dtml-in>
</tr></dtml-in>

-huima