From 737002921e9aed701afb49fda8777e8c9286bf09 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 30 Mar 2015 00:46:33 +0200 Subject: s/filter/search/ no matter what we agree on in #542, this needs to be done anyway. --- web/src/js/actions.js | 2 +- web/src/js/components/header.js | 12 ++++++------ web/src/js/components/mainview.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'web') diff --git a/web/src/js/actions.js b/web/src/js/actions.js index 87c99dd2..32c3c7c0 100644 --- a/web/src/js/actions.js +++ b/web/src/js/actions.js @@ -121,7 +121,7 @@ var FlowActions = { }; var Query = { - FILTER: "f", + SEARCH: "s", HIGHLIGHT: "h", SHOW_EVENTLOG: "e" }; diff --git a/web/src/js/components/header.js b/web/src/js/components/header.js index 0452af3f..6cd1006d 100644 --- a/web/src/js/components/header.js +++ b/web/src/js/components/header.js @@ -167,7 +167,7 @@ var MainMenu = React.createClass({ }, onFilterChange: function (val) { var d = {}; - d[Query.FILTER] = val; + d[Query.SEARCH] = val; this.setQuery(d); }, onHighlightChange: function (val) { @@ -179,7 +179,7 @@ var MainMenu = React.createClass({ actions.SettingsActions.update({intercept: val}); }, render: function () { - var filter = this.getQuery()[Query.FILTER] || ""; + var search = this.getQuery()[Query.SEARCH] || ""; var highlight = this.getQuery()[Query.HIGHLIGHT] || ""; var intercept = this.state.settings.intercept || ""; @@ -187,11 +187,11 @@ var MainMenu = React.createClass({