AnsweredAssumed Answered

Daterange form control on Advanced Search

Question asked by douglascrp Moderator on May 23, 2014
Latest reply on May 23, 2014 by douglascrp
Hey.

When using the daterange.ftl control on my advanced search form, if I select the same date on "from" and "to", I got no result, since the parameters sent to the server are the same, both defined as "date + 00:00:00".

The parameber being sent in this case is
prop_custom_date-date-range":"2014-05-22T00:00:00-03:00|2014-05-22T00:00:00-03:00"

How can I customize the daterange.ftl control in order to make the "to" param to be something like 2014-05-22T23:59:00-03:00 (the last minute of the date)?

Doing that, search would consider the entire day.

Thank you.

Outcomes