mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-07 23:58:59 +01:00
fix Favorite items getting removed at emptying the recycle bin
This commit is contained in:
parent
9221c44533
commit
47636f8b0a
@ -33,7 +33,7 @@ interface MediumDao {
|
||||
@Query("DELETE FROM media WHERE full_path = :path COLLATE NOCASE")
|
||||
fun deleteMediumPath(path: String)
|
||||
|
||||
@Query("DELETE FROM media WHERE deleted_ts < :timestmap")
|
||||
@Query("DELETE FROM media WHERE deleted_ts < :timestmap AND deleted_ts != 0")
|
||||
fun deleteOldRecycleBinItems(timestmap: Long)
|
||||
|
||||
@Query("UPDATE OR REPLACE media SET filename = :newFilename, full_path = :newFullPath, parent_path = :newParentPath WHERE full_path = :oldPath COLLATE NOCASE")
|
||||
|
Loading…
x
Reference in New Issue
Block a user