Currently I have several fields users search using greater than, less than range searches.
However, it seems most of my visitors expect and would be more comfortable with from-to search ranges.
What I mean is that &length-gt=10&length-lt=20 returns 11-19 but they expect it will return 10-20.
(I use this for years, lengths, etc. so when they search greater than 1998 and less than 2000 even though it specifically says older than and newer than, they expect it is from 1998 through 2000 including 1998 and 2000 or from 10' to 20' including 10' and 20'.)
Anyone know how to make the search basically add or subtract 1 to include the less than and greater than values entered in the less than, greater than search making it a from-to or actually from-through search?
However, it seems most of my visitors expect and would be more comfortable with from-to search ranges.
What I mean is that &length-gt=10&length-lt=20 returns 11-19 but they expect it will return 10-20.
(I use this for years, lengths, etc. so when they search greater than 1998 and less than 2000 even though it specifically says older than and newer than, they expect it is from 1998 through 2000 including 1998 and 2000 or from 10' to 20' including 10' and 20'.)
Anyone know how to make the search basically add or subtract 1 to include the less than and greater than values entered in the less than, greater than search making it a from-to or actually from-through search?