Skip to content

Commit 91fe8ea

Browse files
committed
Update compatability with bookmarked searches
- Legacy-Id: 491
1 parent a93b927 commit 91fe8ea

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ietf/idtracker/views.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ def myfields(f):
2424
def search(request):
2525
# for compatability with old tracker form, which has
2626
# "all substates" = 6.
27-
args = request.REQUEST
27+
args = request.GET.copy()
2828
if args.get('sub_state_id', '') == '6':
29-
args['sub_state_id'] = '0'
29+
args['sub_state_id'] = ''
30+
# "job_owner" of "0" means "All/Any"
31+
if args.get('search_job_owner', '') == '0':
32+
args['search_job_owner'] = ''
3033
form = IDSearch(args)
3134
# if there's a post, do the search and supply results to the template
3235
searching = False

0 commit comments

Comments
 (0)