diff --git a/nextgisweb/basemap/amd/ngw-basemap/QMSStore.js b/nextgisweb/basemap/amd/ngw-basemap/QMSStore.js index 3cbaf86651..20f122bd69 100644 --- a/nextgisweb/basemap/amd/ngw-basemap/QMSStore.js +++ b/nextgisweb/basemap/amd/ngw-basemap/QMSStore.js @@ -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);