I have the requirement of date slider in one of my project. The patch in #18 ...

Contribution Date
Technology
Contribution Project
Contribution Details

I have the requirement of date slider in one of my project. The patch in #18 is working, but there are some issues.
I have made some changes and managed to fix the save issue mentioned in #19.

The other issue as mentioned in #19:

I noticed that when it is set to auto and I adjust the slider back a few years (the search results were for news articles from 1999 to current) the page reloaded and I could not longer set it back to 2012. The highest option was now 2009 which is what I had selected.

I am trying to fix that issue. I was checking the parent class FacetapiWidgetSlider, there we have #global_range_min and #global_range_max, but I was unable to get those values for date. Also I tried using date_facets module and changed the query_type to date_range, in that case I am getting values like "Past week", "Past month", etc., these values will not work in slider.

@cpliakas, @Nick_vh Any insight on this will be helpful.

I will make some code corrections and upload the patch that fixes the save issue.

P.S. I am using ApacheSolr

Contribution Author
Files count
0
Patches count
0