Only allow state 1
This commit is contained in:
@@ -16,7 +16,7 @@ $onlyShowEnabled = isset($post['onlyShowEnabled']) ? (string) $post['onlyShowEna
|
|||||||
$onlyShowValue = (string) $post['onlyShowValue'] ?? '';
|
$onlyShowValue = (string) $post['onlyShowValue'] ?? '';
|
||||||
$currentIcons = json_decode(base64_decode((string) ($post['currentIcons'] ?? 'W10K')));
|
$currentIcons = json_decode(base64_decode((string) ($post['currentIcons'] ?? 'W10K')));
|
||||||
|
|
||||||
$where = ["(state = 1 OR state = 2)"];
|
$where = ["state = 1"];
|
||||||
$params = [];
|
$params = [];
|
||||||
$types = "";
|
$types = "";
|
||||||
$order = match ($sortBy) {
|
$order = match ($sortBy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user