Fix issue in some of the client overview entities archived will not remain selected after query, fixed issue where clients would not show in overview if in archived

This commit is contained in:
johnnyq
2025-07-22 16:13:04 -04:00
parent 14691fa367
commit a5aae51b1a
8 changed files with 14 additions and 12 deletions

View File

@@ -114,7 +114,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
SELECT DISTINCT client_id, client_name
FROM clients
JOIN software ON software_client_id = client_id
WHERE client_archived_at IS NULL
WHERE $archive_query
$access_permission_query
ORDER BY client_name ASC
");