Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10004

Issues with Faceting on Object Properties

    Details

    • Development Priority:
      High
    • Difficulty:
      Medium
    • Similar issues:

      Description

      Issues reported by Raluca Stavro:

      1. Date type custom filters in facets displays the date values (standard display, not the date one) decremented by one day (ex : date format is dd.MM.yyyy and there are entries with the value of the date property set to 01.01.2014 -> the value of the filter will be 31.12.2013)

      As I understood from Marius Dumitru Florea, this depends on the user's TimeZone (in the previous example, the user's TimeZone is RO while the entry was created in FR TimeZone).

      2. The type of the property is not automatically detected, that's why the filter values are displayed as date in iso8601DateFormat date format if I'm not wrong.

      The workaround for this problem is to add the new facet in $customSearchFacetValuesDisplayer (attention : it is defined twice) in Main.SolrSearch ( example : 'property.aSpace.aClass.dateProp_date': 'date')

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              msmeria Manuel Smeria
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: