mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Add matchType to getPositionSearchQuery #634
This commit is contained in:
parent
9be4fda56b
commit
14de6cbd10
@ -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);
|
||||
}
|
||||
@ -194,4 +195,3 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user