diff options
| author | Horus3 | 2014-04-05 18:26:27 +0200 |
|---|---|---|
| committer | Horus3 | 2014-04-05 18:26:27 +0200 |
| commit | d8141b6e431a35eb21c24f974ed4e3da3d3e371a (patch) | |
| tree | 6896b93a1fb531f9e1056d42388e71d9fdea86b9 /www/functions/func_content.php | |
| parent | f4e1c90897d3d9a2f139fc604401694df273edc7 (diff) | |
| download | files.iamfabulous.de-d8141b6e431a35eb21c24f974ed4e3da3d3e371a.tar.gz | |
Output now orderd by type and name instead of creating date.
Diffstat (limited to 'www/functions/func_content.php')
| -rwxr-xr-x | www/functions/func_content.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
