Low Search start_on and stop_before on expiration dates
I’m needing to add an expiration date filter to a particular Low Search the same way start_on and stop_before works for entry date. I've tried using range from like this:
range-from:expiration_date=1406843863
But that does not seem to work. Any thoughts or ideas on this?
Replies
Low 1 Aug 2014 17:15
How are you using that parameter? Like a proper param on the Results tag? Then you should add quotes:
Or as a hidden input field? Then you should use this syntax:Note that using the range-from param will mean you're looking for entries with an expiration_date >= 1406843863.
Low 1 Aug 2014 17:17
If that doesn't work, try and use a date string to represent the date, like YYYY-MM-DD HH:ii.