Update Embedfiles.php

playing with order by
This commit is contained in:
Ray 2023-02-26 09:44:21 -05:00
parent 3c95b4acf0
commit 449c943728

View file

@ -24,7 +24,7 @@ class Embedfiles extends Controller
$channel_address = $channel['channel_address'];
$observer = get_observer_hash();
//$orderby = 'is_dir desc';
$orderby = 'filename asc';
$orderby = 'folder asc';
$results = attach_list_files($channel_id, $observer, $hash = '', $filename = '', $filetype = '', $orderby, $start = 0, $entries = 0, $since = '', $until = '');
$success = $results['success'];