-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 5.6.0-HF39, 5.9.5
-
Fix Version/s: Postponed
-
Component/s: Layouts & Widgets, Search Tab
Unlike in the advanced search, where date ranges are automatically adjusted to range from 00:00 to 23:59, the faceted search uses a non-configurable default time of 12:00 PM.
This is confusing for users, for example when following this scenario:
- Create a document during the afternoon
- Search for it by looking for "all documents created between today and today", without noticing the 12:00 PM in the fields
- The document won't be found
This problem could be fixed by making the nxu:inputDateTime tag configurable (currently the default time is hardcoded in org.nuxeo.ecm.platform.ui.web.tag.handler.InputDateTimeTagHandler). Then date_range_widget_template.xhtml could be configured to work just as in the advanced search.
Thanks