mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Sort folders A to Z instead of Z to A
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
<select class="form-control" name="folder">
|
||||
<option value="0">/</option>
|
||||
<?php
|
||||
$sql_folders = mysqli_query($mysqli,"SELECT * FROM folders WHERE folder_client_id = $client_id ORDER BY folder_name DESC");
|
||||
$sql_folders = mysqli_query($mysqli,"SELECT * FROM folders WHERE folder_client_id = $client_id ORDER BY folder_name ASC");
|
||||
while($row = mysqli_fetch_array($sql_folders)){
|
||||
$folder_id = $row['folder_id'];
|
||||
$folder_name = $row['folder_name'];
|
||||
|
||||
Reference in New Issue
Block a user