From 0ad1de88aca54e03f53444580fd059e329caf5b7 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Sat, 16 Sep 2023 10:07:42 +0200 Subject: [PATCH] cmd/hiveview: avoid creating history for column filter changes --- cmd/hiveview/assets/lib/app-index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hiveview/assets/lib/app-index.js b/cmd/hiveview/assets/lib/app-index.js index 0bcde6d114..33347eb6ef 100644 --- a/cmd/hiveview/assets/lib/app-index.js +++ b/cmd/hiveview/assets/lib/app-index.js @@ -252,7 +252,7 @@ class ColumnFilter { } else { p.delete(this.key()); } - window.location.hash = p.toString(); + window.history.replaceState(null, '', '#' + p.toString()); } // valueToRegExp turns the filter value in to a regular expression for searching.