Index: /WAeUP_SRP/trunk/skins/waeup_student/search_students.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/search_students.py	(revision 1478)
+++ /WAeUP_SRP/trunk/skins/waeup_student/search_students.py	(revision 1479)
@@ -137,5 +137,5 @@
                              allowed = allowed,
                              )
-st_queries = ('jamb_reg_no','matric_no','name')
+#st_queries = ('jamb_reg_no','matric_no','name')
 review_res = None
 query = None
@@ -160,11 +160,10 @@
         res = context.students_catalog(matric_no=term.strip())
         search_set = [r.id for r in res]
-    elif what in st_queries:
-        if what == "jamb_reg_no":
-            pt = ('StudentApplication',)
-            st = "%s" % term.strip().lower()
-        elif what == "name":
-            pt = ('StudentPersonal')
-            st = "%s" % term.strip()
+    elif what == "jamb_reg_no":
+        st = "%s" % term.strip().lower()
+        res = context.students_catalog(jamb_reg_no=st)
+        search_set = [r.id for r in res]
+    elif what == "name":
+        pt = ('StudentPersonal')
         query = In('portal_type',pt) & Eq('SearchableText',"%s*" % term.strip())
         res = evalAdvancedQuery(query)
@@ -173,4 +172,6 @@
                 pl = r.getPath().split('/')
                 search_set.append(pl[pl.index('students') + 1])
+
+
 if only_review or with_review or co_view:
     if with_timer:
