File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ def get_issue_category(issue_category):
116
116
params = request .args .copy ()
117
117
118
118
if issue_category in category_list :
119
- params ['labels' ] = issue_category
119
+ # add "status-" before the filter param to match the naming scheme
120
+ # of the repo labels.
121
+ params ['labels' ] = 'status-' + issue_category
120
122
if g .user :
121
123
issues = github .raw_request ('GET' , issues_path , params = params )
122
124
else :
@@ -198,7 +200,9 @@ def get_category_from_search(issue_category):
198
200
params = request .args .copy ()
199
201
200
202
if issue_category in category_list :
201
- query_string = 'label:{0}' .format (issue_category )
203
+ # add "status-" before the issue_category to match the naming scheme
204
+ # of the repo labels.
205
+ query_string = 'label:{0}' .format ('status-' + issue_category )
202
206
elif issue_category == 'new' :
203
207
query_string = ' ' .join (['-label:%s' % cat for cat in category_list ])
204
208
query_string += ' state:open '
You can’t perform that action at this time.
0 commit comments