db/simple: pass DatabaseSelection to WalkMount()
This passes the new `sort` and `window` attributes to the mounted database.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "db/Uri.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/Interface.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "song/Filter.hxx"
|
||||
#include "lib/icu/Collate.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
@@ -227,7 +228,7 @@ Directory::Walk(bool recursive, const SongFilter *filter,
|
||||
call will lock it again */
|
||||
const ScopeDatabaseUnlock unlock;
|
||||
WalkMount(GetPath(), *mounted_database,
|
||||
"", recursive, filter,
|
||||
"", DatabaseSelection("", recursive, filter),
|
||||
visit_directory, visit_song,
|
||||
visit_playlist);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user