[Zope-dev] Getting the count of hits while searching zcatalog
Hello everybody, can you tell me how to get the count of hits searching a zcatalog. I've the following code for presenting me the results, but i'm missing the count of found files, where the full text search was performed. - dtml-in KCatalog size=5 start=query_start dtml-if sequence-start dtml-if previous-sequence a href=dtml-var URLdtml-var sequence-query query_start=dtml-var previous-sequence-start-number (Previous dtml-var previous-sequence-size results) /a /dtml-if previous-sequence table border tr thNr/th thId/th thLocation/th /tr /dtml-if sequence-start tr tddtml-var sequence-number/td tddtml-var id/td tda href=/zopedtml-var KCatalog.getpath(data_record_id_) dtml-var KCatalog.getpath(data_record_id_)/a/td /tr dtml-if sequence-end /table dtml-if next-sequence a href=dtml-var URLdtml-var sequence-query query_start=dtml-var next-sequence-start-number (Next dtml-var next-sequence-size results) /a /dtml-if next-sequence /dtml-if sequence-end dtml-else There was no data matching this dtml-var title_or_id query. /dtml-in dtml-var standard_html_footer - Thanks, Metin Deniz ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Getting the count of hits while searching zcatalog
On Tue, 26 Mar 2002, Deniz, Metin wrote: can you tell me how to get the count of hits searching a zcatalog. This is a [EMAIL PROTECTED] rather than a zope-dev question. The answer, I think, is 'sequence-length'. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )