Index: WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py	(revision 598)
+++ WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py	(revision 599)
@@ -55,5 +55,6 @@
 term = ds.get('search_string')
 err = False
-if not term and what in ('student_edit','jamb_id','name','matric_no'):
+with_review = state != "all"
+if not term and not with_review:
     psm = "You must specify a search string when searching in 'All States'"
     err = True
@@ -73,5 +74,5 @@
 portal_type_query = {'query':['Student','StudentApplication','StudentPersonal']}
 st_queries = ('jamb_id','matric_no','name')
-onlyreview = with_review and not what
+onlyreview = with_review and not term
 if onlyreview:
     res = catalog(portal_type=portal_type_query,
