Open adamamyl opened 9 years ago
(sorting / filtering by spatial is much sought after)
That's definitely possible, it will take a bit of work though. We'd need to add a number field in Solr for the resolution values and create a custom facet widget that constructs the appropriate queries under the hood (much in the same way that it was done for the date of collection field, but with a much easier UI).
What will be difficult is getting the counts for each category directly from Solr, but we can always add them up on the templates.
Can we think about the issues involved in looking at building a filter along these lines:
using the metadata for the resolution, offer the user four options on which to filter --
This is possibly a work-around to the issues mentioned in #59, and how CKAN sorts things (quantity of datasets).
Would this be equally complicated to build?