Update Embedfiles.php

back to normal
This commit is contained in:
Ray 2023-02-26 10:16:07 -05:00
parent 3f907cbc7f
commit aa58bdded1

View file

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