mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix includeRelativeRoots and includeRelativeDirs not working in queryFileDescriptors when set together
This commit is contained in:
parent
57c438b7f1
commit
da00a4f3ad
1 changed files with 6 additions and 0 deletions
|
@ -456,11 +456,17 @@ extension SqliteDbFileExtension on SqliteDb {
|
|||
for (final r in includeRelativeRoots) {
|
||||
q.byOrRelativePathPattern("$r/%");
|
||||
}
|
||||
if (dirIds != null) {
|
||||
for (final i in dirIds) {
|
||||
q.byOrDirRowId(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dirIds != null) {
|
||||
for (final i in dirIds) {
|
||||
q.byOrDirRowId(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (location != null) {
|
||||
|
|
Loading…
Reference in a new issue