Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11811

The search engine does not correctly search on date-time attributes with relative dates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.8.0, 4.7.6
    • 4.7.4, 4.8.0
    • None
    • None
    • 4.8.0 M6

      How to reproduce it :

      • insert a search engine into a page with those parameters :
        • Contents : news
        • Current context
        • Following criteria : contents/news/endDate after (including) the value today
        • Abstract view with default rendering
      • check that at least one news content have a startDate and a endDate on the current day without time. This content is the sample reference
      • > the search engine does not return the sample content in the search results.

      The problem seems to come from the time field because adding only a few hours on the endDatetime field of the sample content is enough to get the content on the search results.

            cedric Cédric Damioli
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: