Issue 18726

Add facets to the organization API

18726
Reporter: trobertson
Type: Improvement
Summary: Add facets to the organization API
Priority: Unassessed
Resolution: Duplicate
Status: Closed
Created: 2016-09-09 10:28:56.926
Updated: 2017-10-10 16:08:29.831
Resolved: 2017-10-10 16:08:29.804
        
Description: For the new site [~hoefft] would like to add facets for:
  1. Endorsing node (UUID)
  2. Country (ISO code)
  3. Year of registration (i.e. created date)
  4. numberOfDatasets

It is not expected to grow in much complexity, so I propose we should just do this through SQL and not overcomplicate this by adding SOLR and sync'ing etc]]>
    


Author: hoefft
Created: 2016-09-09 14:09:39.857
Updated: 2016-09-09 14:09:39.857
        
it might be worth aligning the filters with our other APIs as well?
currently having multiple params doesn't OR as normally.

http://api.gbif.org/v1/organization?country=DK&country=AU
http://api.gbif.org/v1/organization?country=AU

Searching for DK and AU gives 23 results even though there is 38 results from AU (at time of writing).
It simply takes the first param and ignores the rest seemingly
    


Author: hoefft
Comment: https://github.com/gbif/portal16/issues/614
Created: 2017-10-10 16:08:29.822
Updated: 2017-10-10 16:08:29.822