From 61e311842bd89a624a4f32f61edb080c702a9c89 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Sun, 20 Nov 2016 21:05:16 +0300 Subject: [PATCH] Do not "Show All" when searching using q= hash parameter (#21) --- frontend/app/map/hash/hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/map/hash/hash.js b/frontend/app/map/hash/hash.js index 9f89f9fb..70088b0e 100644 --- a/frontend/app/map/hash/hash.js +++ b/frontend/app/map/hash/hash.js @@ -53,7 +53,7 @@ } } - map.searchUi.search(args[4] || "", !!ret, args[4] ? !fmUtils.isSearchId(args[4]) : null); + map.searchUi.search(args[4] || "", !!ret, args[4] ? (ret && !fmUtils.isSearchId(args[4])) : null); map.socket.setFilter(args[5] || "");