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);
+