mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-02 14:04:22 +00:00
List directories first in the output of ls.
This commit is contained in:
parent
b422d5efbd
commit
c5824c36bd
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace din {
|
||||||
"\"level\"=$1 " <<
|
"\"level\"=$1 " <<
|
||||||
"AND \"group_id\"=$2 " <<
|
"AND \"group_id\"=$2 " <<
|
||||||
"AND str_begins_with(\"path\", COALESCE($3, '')) " <<
|
"AND str_begins_with(\"path\", COALESCE($3, '')) " <<
|
||||||
"ORDER BY \"path\" ASC " <<
|
"ORDER BY \"is_directory\" DESC, \"path\" ASC " <<
|
||||||
"LIMIT " << g_files_query_limit << ';';
|
"LIMIT " << g_files_query_limit << ';';
|
||||||
|
|
||||||
auto& conn = get_conn();
|
auto& conn = get_conn();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue