lucidworks / lucidworks-view

Create custom user experiences for your Fusion-powered apps.
https://lucidworks.com/view
Apache License 2.0
37 stars 23 forks source link

Range facets date support fix #66

Closed JoshLipps closed 8 years ago

JoshLipps commented 8 years ago

Range facets were using formatted display value instead of actual data in code and when sending to server. In addition to encoding problems Range facets were using next facet entry to calculate fq end value. This would only work if empty facet entries were returned with the query.

This PR uses the returned gap param to calculate the range end for both Dates and Numeric range facets.

Other Minor fixes

This PR address issue descibed here: https://github.com/lucidworks/lucidworks-view/issues/58

JoshEllinger commented 8 years ago

Unable to deselect facets. Something funky going on w/ search hub dataset see config file for example FUSION_CONFIG.js.zip

JoshLipps commented 8 years ago

Made some improvements to better handle calculating end of Range facets based on gap

arielisaacs commented 8 years ago

Props to @JoshLipps for doing a lot of the work on this PR!