From a1613ddceb0af4444b7de3a013f3d7ae35f64b56 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 11 Jun 2024 13:45:19 -0400 Subject: [PATCH] Up Max Client Abbreviation length from 5 to 6 --- client_add_modal.php | 2 +- client_edit_modal.php | 2 +- domains.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client_add_modal.php b/client_add_modal.php index f54a707a..db127307 100644 --- a/client_add_modal.php +++ b/client_add_modal.php @@ -297,7 +297,7 @@
- + diff --git a/client_edit_modal.php b/client_edit_modal.php index 0a3a87a0..5d2270ce 100644 --- a/client_edit_modal.php +++ b/client_edit_modal.php @@ -190,7 +190,7 @@
- + diff --git a/domains.php b/domains.php index fc262bfd..862d33e6 100644 --- a/domains.php +++ b/domains.php @@ -22,7 +22,7 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS domains.*, LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id WHERE domain_archived_at IS NULL - AND (domains.domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%') + AND (domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%') ORDER BY $sort $order LIMIT $record_from, $record_to"); $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));