From 2c8c275a7e768713d7294c7314b4eadc27c447c1 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 19 Mar 2024 14:33:21 -0400 Subject: [PATCH] Use bootstrap css media function to properly seperate icon on the left and text on the right for files, Fix Search for files within a folder. --- client_files.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/client_files.php b/client_files.php index bc3edd61..c9ba024b 100644 --- a/client_files.php +++ b/client_files.php @@ -45,7 +45,7 @@ $sql = mysqli_query( WHERE file_client_id = $client_id AND file_folder_id = $folder_id AND file_archived_at IS NULL - AND (file_name LIKE '%$q%' OR file_ext LIKE '%$q%') + AND (file_name LIKE '%$q%' OR file_ext LIKE '%$q%' OR file_description LIKE '%$q%') $query_images ORDER BY $sort $order LIMIT $record_from, $record_to" ); @@ -147,6 +147,7 @@ $num_of_files = mysqli_num_rows($sql);
+