Fix device folder entries
This commit is contained in:
parent
5ec0932021
commit
6270ce27c8
1 changed files with 2 additions and 1 deletions
|
@ -175,9 +175,10 @@ class FilesDB {
|
|||
final results = await db.query(
|
||||
table,
|
||||
where:
|
||||
'$columnDeviceFolder = ? AND $columnIsDeleted = 0 AND $columnCreationTime < ?',
|
||||
'$columnLocalID IS NOT NULL AND $columnDeviceFolder = ? AND $columnIsDeleted = 0 AND $columnCreationTime < ?',
|
||||
whereArgs: [path, beforeCreationTime],
|
||||
orderBy: '$columnCreationTime DESC',
|
||||
groupBy: '$columnLocalID',
|
||||
limit: limit,
|
||||
);
|
||||
return _convertToFiles(results);
|
||||
|
|
Loading…
Add table
Reference in a new issue