Skip to content

Commit

Permalink
feat: IIIF search query from full-text exact match (#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwd authored Apr 12, 2024
1 parent 47761a3 commit 570dd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/portal/src/components/item/ItemHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
if (this.$nuxt.context.from.query.qa) {
const advSearchRules = this.advancedSearchRulesFromRouteQuery(this.$nuxt.context.from.query.qa);
query = advSearchRules
.filter((rule) => (rule.field === 'fulltext') && (rule.modifier === 'contains'))
.filter((rule) => (rule.field === 'fulltext') && (['contains', 'exact'].includes(rule.modifier)))
.map((rule) => rule.term);
}
}
Expand Down

0 comments on commit 570dd84

Please sign in to comment.