mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +00:00
Simplify / rework some of the filter header logic and update filter vars in the rest of the code
This commit is contained in:
@@ -110,7 +110,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
<div class="col-md-2">
|
||||
<div class="input-group">
|
||||
<select class="form-control select2" name="location" onchange="this.form.submit()">
|
||||
<option value="" <?php if ($location_filter == "") { echo "selected"; } ?>>- All Locations -</option>
|
||||
<option value="">- All Locations -</option>
|
||||
|
||||
<?php
|
||||
$sql_locations_filter = mysqli_query($mysqli, "SELECT * FROM locations WHERE location_client_id = $client_id AND location_archived_at IS NULL ORDER BY location_name ASC");
|
||||
|
||||
Reference in New Issue
Block a user