Skip to content

Commit

Permalink
Add matchType to getPositionSearchQuery #634
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Mar 13, 2023
1 parent 9be4fda commit 14de6cb
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 14de6cb

Please sign in to comment.