mirror of
https://github.com/itflow-org/itflow
synced 2026-08-10 09:37:15 +00:00
More Select * Queries convert
This commit is contained in:
@@ -734,7 +734,7 @@ if (isset($_POST['export_quotes'])) {
|
||||
|
||||
$sql = mysqli_query(
|
||||
$mysqli,
|
||||
"SELECT * FROM quotes
|
||||
"SELECT quote_number, quote_prefix FROM quotes
|
||||
LEFT JOIN clients ON quote_client_id = client_id
|
||||
LEFT JOIN categories ON quote_category_id = category_id
|
||||
WHERE (CONCAT(quote_prefix,quote_number) LIKE '%$q%' OR quote_scope LIKE '%$q%' OR category_name LIKE '%$q%' OR quote_status LIKE '%$q%' OR quote_amount LIKE '%$q%' OR client_name LIKE '%$q%')
|
||||
|
||||
Reference in New Issue
Block a user