Added Search by client Abbreviation to client and global search

This commit is contained in:
johnnyq
2025-03-26 17:56:40 -04:00
parent bbb0db2f4f
commit b5fa8ab4de
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ if (isset($_GET['query'])) {
$sql_clients = mysqli_query($mysqli, "SELECT * FROM clients
LEFT JOIN locations ON clients.client_id = locations.location_client_id AND location_primary = 1
WHERE client_archived_at IS NULL
AND client_name LIKE '%$query%'
AND (client_name LIKE '%$query%' OR client_abbreviation LIKE '%$query%')
$access_permission_query
ORDER BY client_id DESC LIMIT 5"
);