From d8141b6e431a35eb21c24f974ed4e3da3d3e371a Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sat, 5 Apr 2014 18:26:27 +0200 Subject: Output now orderd by type and name instead of creating date. --- www/functions/func_content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/functions/func_content.php') diff --git a/www/functions/func_content.php b/www/functions/func_content.php index c405715..ad0c87e 100755 --- a/www/functions/func_content.php +++ b/www/functions/func_content.php @@ -30,7 +30,7 @@ function get_content($db, $file_id, $owner){ $share =" AND share='PUBLIC'"; } - $content_db = $db->query("SELECT * FROM files WHERE parent=" . $file_id . " AND owner=" . $owner . $share . ";"); + $content_db = $db->query("SELECT * FROM files WHERE parent=" . $file_id . " AND owner=" . $owner . $share . " ORDER BY folder, name;"); $count=0; -- cgit v1.2.3