gbif / hp-canadensys

0 stars 2 forks source link

invalid collection config #7

Closed MortenHofft closed 1 year ago

MortenHofft commented 1 year ago

configuring these are a bit fiddly.

example config for collections can be seen here https://hp-theme.gbif-staging.org/data-exploration-config

the current config is invalid

collection: {
    //rootFilter: { // filters on the grscicoll collection v1 API https://www.gbif.org/developer/summary
      //predicate: {
        //type: 'equals', key: 'country', value:'CA' 
      //}
      //publishingCountry: 'CA',
    rootPredicate: {type: 'equals', key: 'country', value:'CA'},
    displayOnNHCPortal: true
  },

we should also remove the country filter from the UI