Skip to content

Commit

Permalink
Don't search for empty strings
Browse files Browse the repository at this point in the history
CU-85zt3z814
  • Loading branch information
drnextgis authored and dezhin committed Jul 5, 2023
1 parent 9f97634 commit 02b4093
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nextgisweb/basemap/amd/ngw-basemap/QMSStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ define([
},

query: function (query, options) {
if (query.name.toString().length == 0) {
return [];
}

var qopts = lang.mixin({
"search": query.name
}, this.queryOptions);
Expand Down

0 comments on commit 02b4093

Please sign in to comment.