Skip to content

Commit

Permalink
Merge pull request #635 from SmartFinn/add_match_type
Browse files Browse the repository at this point in the history
 Add matchType to getPositionSearchQuery
  • Loading branch information
bpatrik authored Mar 13, 2023
2 parents 9be4fda + 14de6cb commit 56de7ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy {
getPositionSearchQuery(): string {
return JSON.stringify({
type: SearchQueryTypes.position,
matchType: TextSearchQueryMatchTypes.exact_match,
text: this.getPositionText(),
} as TextSearch);
}
Expand Down Expand Up @@ -194,4 +195,3 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy {
};
}
}

0 comments on commit 56de7ed

Please sign in to comment.