Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15813

Date ranges in faceted search go from 12PM to 12PM by default

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: