Back

Filtering and Searching
filterDefaults
Set the default values for filtering/searching If you have 2 search fields, the first being a free text field for product launch date with the default being all products to be launched in the future(m/d/Y), and the second is a set of checkboxes, indicating product status, and you want the checkboxes "Development" and "Launching" checked, then set: $lens->filterDefaults = "launchdate^>".date('m/d/Y').';status^Development/Launching'; If today is 21 January 2004, this will generate: $lens->filterDefaults = "launchdate^>1/21/2004;status^Development/Launching'; Basic:Yes Advanced/Enterprise:Yes DynamicEdit:Yes [Version 3.3]