(location)
| 93 | } |
| 94 | |
| 95 | export function datasetsQuery(location) { |
| 96 | const context = { 'exclude:category': 'casefile' }; |
| 97 | return Query.fromLocation('collections', location, context, 'collections') |
| 98 | .defaultFacet('countries') |
| 99 | .defaultFacet('category') |
| 100 | .defaultSortBy('created_at', 'desc'); |
| 101 | } |
| 102 | |
| 103 | export function collectionEntitySetsQuery(location, collectionId) { |
| 104 | const context = { 'filter:collection_id': collectionId }; |
no test coverage detected