File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def get_issue_category(issue_category):
130
130
# For paginated results on the /issues page,
131
131
# see /issues/search/needstriage.
132
132
elif issue_category == 'new' :
133
- redirect (url_for ('.get_issue_category' ,
133
+ return redirect (url_for ('api .get_issue_category' ,
134
134
issue_category = 'needstriage' ), 301 )
135
135
else :
136
136
# The path doesn’t exist. 404 Not Found.
@@ -192,7 +192,7 @@ def get_category_from_search(issue_category):
192
192
query_string += ' state:closed '
193
193
return get_search_results (query_string , params )
194
194
elif issue_category == 'new' :
195
- redirect (url_for ('.get_category_from_search' ,
195
+ return redirect (url_for ('api .get_category_from_search' ,
196
196
issue_category = 'needstriage' ), 301 )
197
197
else :
198
198
# no known keyword we send not found
You can’t perform that action at this time.
0 commit comments