admin/department.php 1 location
|
@@ 794-798 (lines=5) @@
|
791 |
|
redirect_header(XHELP_ADMIN_URL.'/department.php?op=manageDepartments', 3, $message); |
792 |
|
} else { |
793 |
|
$hDepartments =& xhelpGetHandler('department'); |
794 |
|
if($dept_search == false){ |
795 |
|
$crit = new Criteria('',''); |
796 |
|
} else { |
797 |
|
$crit = new Criteria('department',"%$dept_search%", 'LIKE'); |
798 |
|
} |
799 |
|
$crit->setOrder($order); |
800 |
|
$crit->setSort($sort); |
801 |
|
$crit->setLimit($limit); |
admin/staff.php 1 location
|
@@ 937-941 (lines=5) @@
|
934 |
|
} |
935 |
|
$staff_users = $member_handler->getUsers($crit); |
936 |
|
|
937 |
|
if($dept_search == false){ |
938 |
|
$crit = new Criteria('', ''); |
939 |
|
} else { |
940 |
|
$crit = new Criteria('department', "%$dept_search%", 'LIKE'); |
941 |
|
} |
942 |
|
$crit->setStart($dstart); |
943 |
|
$crit->setLimit($dlimit); |
944 |
|
|