Skip to content

Commit

Permalink
Merge pull request #1078 from webcompat/Issue/1074/1
Browse files Browse the repository at this point in the history
Fixes #1074 - Added clear filter event to LabelSearch method to trigg…
  • Loading branch information
Mike Taylor committed Jun 1, 2016
2 parents e8da2c7 + 5b06e12 commit 13e31e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webcompat/static/js/lib/issue-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ issueList.IssueView = Backbone.View.extend(
var labelFilter = 'label:' + clickedLabel;
issueList.events.trigger('search:update', labelFilter);
issueList.events.trigger('issues:update', {query: labelFilter});
issueList.events.trigger('filter:clear', {removeQ: false});
e.preventDefault();
},
resetStageFilter: function(options) {
Expand Down

0 comments on commit 13e31e2

Please sign in to comment.