From 91fe8ea9c21aac791f71feb8b3a325f363a44fdb Mon Sep 17 00:00:00 2001
From: Bill Fenner <fenner@fenron.net>
Date: Mon, 18 Jun 2007 15:53:01 +0000
Subject: [PATCH] Update compatability with bookmarked searches  - Legacy-Id:
 491

---
 ietf/idtracker/views.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ietf/idtracker/views.py b/ietf/idtracker/views.py
index 8f9787c75..fa893137a 100644
--- a/ietf/idtracker/views.py
+++ b/ietf/idtracker/views.py
@@ -24,9 +24,12 @@ def myfields(f):
 def search(request):
     # for compatability with old tracker form, which has
     #  "all substates" = 6.
-    args = request.REQUEST
+    args = request.GET.copy()
     if args.get('sub_state_id', '') == '6':
-	args['sub_state_id'] = '0'
+	args['sub_state_id'] = ''
+    # "job_owner" of "0" means "All/Any"
+    if args.get('search_job_owner', '') == '0':
+	args['search_job_owner'] = ''
     form = IDSearch(args)
     # if there's a post, do the search and supply results to the template
     searching = False