Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I would like to setup the CustomSearchContext and SearchFields for Date range using one and/or two date boxes such as "From date" and "To date" and then be able to use the innate SS functionality for searching for such a range.
I would also love to know how to do this. I have seen WithinRangeFilter but cannot find anything on its use. Also appears incomplete. Is there anything that can be done without being to hackish?
I mean searching a single Date field for a range should be possible or at least the ability to add duplicate search context fields one for Greaterthan and one for Lessthan.
+1 for seeing the WithinDateRange filter and field working.
..further to Enclave's suggestion I can imagine the SearchFilter form system allowing you to choose either:
search greater than,
search less than
ie allowing the user to customize how the search is done on the form, and the form will modify itself appropriately, such as showing two input boxes for searching between values.
..this should be made into a trac ticket, or discussed on the ss google dev group to actually see / hear about any progress.
Sorry for my ignorance, but are you guys talking...
* searching the site
I'm adding this to model admin soon, I don't see a problem in doing so...