Skip to content

Commit

Permalink
Filter out havested metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Feb 6, 2025
1 parent 7eb2ef3 commit 1492ea1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions frontend/src/services/geonetworkSearch.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ export const geonetworkSearchService = {
},
},
],
must_not: {
terms: {
resourceType: ['service', 'map', 'map/static', 'mapDigital'],
must_not: [
{
terms: {
resourceType: ['service', 'map', 'map/static', 'mapDigital'],
},
},
},
{ term: { isHarvested: true } },
],
},
},
_source: ['resourceTitleObject', 'uuid'],
Expand Down

0 comments on commit 1492ea1

Please sign in to comment.