Skip to content

Commit

Permalink
Keep folders on top in the Image picker dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Usbac committed Jan 2, 2025
1 parent 69f1ad1 commit 0e2a9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bootstrap/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@

$router->get('admin/image_dialog', function() use ($view) {
$path = $_GET['path'] ?? Kernel::config('content');
$files = \Aurora\App\Media::getFiles($path, '', 'name');
$files = \Aurora\App\Media::getFiles($path, '', 'name', true, true);
if ($files === false) {
http_response_code(404);
return;
Expand Down

0 comments on commit 0e2a9cf

Please sign in to comment.