|
|
@@ -84,6 +84,7 @@ $test_id = http::value("test_id", "int");
|
|
|
$tester_id = http::value("tester_id", "int");
|
|
|
$location_internal_id = http::value("location_internal_id", "int");
|
|
|
$pass = http::value("pass", "int");
|
|
|
+$retest = http::value("retest", "int");
|
|
|
$min_days_overdue = http::value("min_days_overdue", "int");
|
|
|
$custom = http::value("custom");
|
|
|
|
|
|
@@ -135,6 +136,15 @@ if($tester_id) $nvp["tester_id"] = $tester_id;
|
|
|
// Pass
|
|
|
if(strlen($pass) > 0) $nvp["pass"] = $pass;
|
|
|
|
|
|
+if(isset($retest)) {
|
|
|
+ if($retest === 0) {
|
|
|
+ $nvp["retest"] = 0;
|
|
|
+ }
|
|
|
+ if($retest === 1) {
|
|
|
+ $nvp["retest"] = 1;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
$filter_count = count($nvp);
|
|
|
|
|
|
$sort = http::value("sort");
|
|
|
@@ -252,4 +262,4 @@ $sorts = [
|
|
|
Core::addScript("public/js/app-test-list.js");
|
|
|
|
|
|
View::includeOnce("header", compact("page_title"));
|
|
|
-View::include("test_list", compact("tests", "pagination_object", "sort", "sorts", "projects", "customers", "customer_id", "project_id", "location_id", "location_internal_id", "location_name", "pass", "min_days_overdue", "custom", "test_id", "tester_id", "filter_count", "status", "status_tester_invoice"));
|
|
|
+View::include("test_list", compact("tests", "pagination_object", "sort", "sorts", "projects", "customers", "customer_id", "project_id", "location_id", "location_internal_id", "location_name", "pass", "retest", "min_days_overdue", "custom", "test_id", "tester_id", "filter_count", "status", "status_tester_invoice"));
|