Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.4-rc-1
Description
Issues reported by ralucamorosan:
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 mflorea, 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')