Skip to content

Commit

Permalink
Merge pull request #203 from tmanninger/master
Browse files Browse the repository at this point in the history
Elasticsearch 6 search support
  • Loading branch information
kiwiz authored Mar 29, 2019
2 parents d53751d + 8d47676 commit 0055090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/assets/js/views/alerts/alerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ define(function(require) {

var default_search = this.App.Data.User.get('settings')['default'];
var query = Util.parseQuery(window.location.href);
var query_string = query.query || default_search || 'state:(0 1)';
var query_string = query.query || default_search || 'state:(0 OR 1)';

var queries = this.App.Data.User.get('settings')['queries'] || [];
for(var i = 0; i < queries.length; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/assets/js/views/searches/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ define(function(require) {
},
gotoAlerts: function() {
this.App.Router.navigate('/alerts?' + decodeURIComponent($.param({
query: 'state:(0 1) AND search_id:' + this.model.id
query: 'state:(0 OR 1) AND search_id:' + this.model.id
})), {trigger: true});
}
});
Expand Down

0 comments on commit 0055090

Please sign in to comment.