Ver Fonte

[search] Fix Marker Map zoom filtering

Romain Rigaux há 10 anos atrás
pai
commit
0933b8f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      apps/search/src/search/static/search/js/search.ko.js

+ 1 - 1
apps/search/src/search/static/search/js/search.ko.js

@@ -291,7 +291,7 @@ var Query = function (vm, query) {
       'lat': data.lat,
       'lon': data.lon,
       'filter': [
-        {'exclude': false, 'value': data.bounds}
+        {'exclude': false, 'value': ko.mapping.toJSON(data.bounds)} // Need common type
       ],
       'type': 'map',
       'properties': {