disable filter
This commit is contained in:
@ -386,10 +386,10 @@ class Tracks extends Model
|
||||
$query .= " AND v.nopol1 = ? AND v.nopol2 = ? AND v.nopol3 = ?";
|
||||
array_push($params, $filter["nopol1"], $filter["nopol2"], $filter["nopol3"]);
|
||||
}
|
||||
if (isset($filter["vid"])) {
|
||||
$query .= " AND v.id = ?";
|
||||
$params[] = $filter["vid"];
|
||||
}
|
||||
// if (isset($filter["vid"])) {
|
||||
// $query .= " AND v.id = ?";
|
||||
// $params[] = $filter["vid"];
|
||||
// }
|
||||
if (isset($filter["vids"])) {
|
||||
if ($filter["vids"] && count($filter["vids"]) > 0) {
|
||||
$placeholders = rtrim(str_repeat("?,", count($filter["vids"])), ",");
|
||||
|
||||
Reference in New Issue
Block a user