18 Aug
2003
18 Aug
'03
6:17 p.m.
--On Montag, 18. August 2003 13:10 Uhr -0500 BZ <bz@bwanazulia.com> wrote:
I would like to get back a list of objects, from a folder that have a parameter checked off in them:
So, I would like to get back a list of items "Item Name" that also have been approved (check box value)
These do not work: <dtml-in "folder.objectValues('Item Name') and approved" size="3"> <dtml-in "folder.objectValues('Item Name' and approved)" size="3">
There is no documentation that shows such a syntax. So why do you assume that this should work?
This works: <dtml-in "folder.objectValues('Item Name') reverse size="3"> <dtml-if approved>
Use the ZCatalog and create a PathIindex and a FieldIndex for 'approved' and then rephrase your problem using a ZCatalog search. -aj