Skip to content

Commit

Permalink
improve search type ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
JLSchaap committed Jul 19, 2024
1 parent e9b5a93 commit 2155efa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class SearchComponent implements OnInit {
const ogc = this.locationService.OgcAPI
if (ogc) {
const t = this.findTokens(search, ogc.lokaalIdRegex)
if (t.length > 0) {
if (t.length > 6) {
const lokaalid = t[0]
this.$ids = this.idlookupService.existsId(ogc.url, lokaalid)
}
Expand Down

0 comments on commit 2155efa

Please sign in to comment.