From aa58bdded1a3825ea43fe983afc11f654b67ca98 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 26 Feb 2023 10:16:07 -0500 Subject: [PATCH] Update Embedfiles.php back to normal --- Code/Module/Embedfiles.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Code/Module/Embedfiles.php b/Code/Module/Embedfiles.php index cdc16b335..78e4a67a9 100644 --- a/Code/Module/Embedfiles.php +++ b/Code/Module/Embedfiles.php @@ -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'];