Moviri / recline

A simple but powerful library for building data applications in pure Javascript and HTML.
http://reclinejs.com/
MIT License
2 stars 2 forks source link

getFacetByFieldId should return also the full facet list, not only the filtered ones #62

Closed giobaldac closed 11 years ago

giobaldac commented 11 years ago

In my opinion this can be performed when the model records change after querying jsonp, but needs not to be recalculated on every change in filtering/selection, so it shouldn't affect performances. At least I expect it to be "hidden" inside initial jsonp loading process with ajax spinner icon, so the user won't notice any performance difference.

davidemalagoli commented 11 years ago

if facet is added with option "true" it should return all facet (before and after the filter)