Skip to content

Commit

Permalink
webcompat#436 Changing the labels
Browse files Browse the repository at this point in the history
  • Loading branch information
karlcow committed Mar 3, 2015
1 parent e578860 commit f3c0254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webcompat/static/js/lib/issue-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ issueList.FilterView = Backbone.View.extend({
events: {
'click .js-filter-button': 'toggleFilter'
},
_filterRegex: /(stage=(?:new|needscontact|needsdiagnosis|contactready|sitewait|closed))/ig,
_filterRegex: /(stage=(?:new|status-needscontact|status-needsdiagnosis|status-contactready|status-sitewait|status-closed))/ig,
_isLoggedIn: $('body').data('username'),
_userName: $('body').data('username'),
initialize: function() {
Expand Down Expand Up @@ -303,7 +303,7 @@ issueList.IssueView = Backbone.View.extend({
events: {
'click .js-issue-label': 'labelSearch',
},
_filterRegex: /&*stage=(new|needscontact|needsdiagnosis|contactready|sitewait|closed)&*/i,
_filterRegex: /&*stage=(new|status-needscontact|status-needsdiagnosis|status-contactready|status-sitewait|status-closed)&*/i,
_isLoggedIn: $('body').data('username'),
_loadingIndicator: $('.js-loader'),
initialize: function() {
Expand Down

1 comment on commit f3c0254

@miketaylr
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, thinking out loud... do we want these filter/stage GET params to change here as well? That would mean we need to update the endpoints as well. I don't think I have an opinion either way.

Please sign in to comment.