Closed (duplicate)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2013 at 20:37 UTC
Updated:
24 May 2013 at 16:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
jongagne commentedHere is the ported patch, which was adapted from this patch.
Comment #2
nick_vhPlease use date_facets module for this
Comment #3
jongagne commentedAs far as I can tell the purpose of the two modules is different. The date facet allows facets that filter content depending on a list of date ranges, and the proposed list allows the maximum depth (granularity) the dates can expand to. For example, the date range module does
http://drupal.org/files/project-images/date-range-facets_0.jpg
whereas the proposed patch allows the attached image (day granularity is selected). Without this patch, it goes down to the second, which is rarely desired. This functionality is useful for anyone using the date facets, and for that reason, there is value to add the functionality this module.
Comment #4
jongagne commentedCorrected an undefined constant
Comment #5
David_Rothstein commentedClosing as a duplicate of the original issue (#1952296: Add Date facet granularity support).