14 Jun
2002
14 Jun
'02
10:49 a.m.
I am having a form based search here and the results page starts like <dtml-in Catalog size=20 start=query_start>, so I thought I could easily determine the length of "Catalog". I have tried <dtml-var "_.len(Catalog(REQUEST))"> and it seems to work ;-) Juergen --On Freitag, 14. Juni 2002 06:39 -0400 Andreas Jung <andreas@andreas-jung.com> wrote:
Why do you expect that your approach gives you the number of results of a query when you don't specify the query? ;-)
Try <dtml-var "_.len(Catalog(field1=...,field2=...))">
-aj