|
@@ -338,7 +338,7 @@ class FilesDB {
|
|
|
final results = await db.query(
|
|
|
table,
|
|
|
where:
|
|
|
- '$columnCreationTime >= ? AND $columnCreationTime <= ? AND ($columnOwnerID IS NULL OR $columnOwnerID = ?) AND ($columnCollectionID IS NOT NULL AND $columnCollectionID IS NOT -1)',
|
|
|
+ '$columnCreationTime >= ? AND $columnCreationTime <= ? AND $columnOwnerID = ? AND ($columnCollectionID IS NOT NULL AND $columnCollectionID IS NOT -1)',
|
|
|
whereArgs: [startTime, endTime, ownerID],
|
|
|
orderBy:
|
|
|
'$columnCreationTime ' + order + ', $columnModificationTime ' + order,
|