diff --git a/app/src/main/java/io/legado/app/data/dao/BookDao.kt b/app/src/main/java/io/legado/app/data/dao/BookDao.kt index a3a091e55..6baa0b517 100644 --- a/app/src/main/java/io/legado/app/data/dao/BookDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/BookDao.kt @@ -30,9 +30,8 @@ interface BookDao { @Query( """ - select * from books where type != ${BookType.audio} - and origin != '${BookType.local}' - and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0 + select * from books + where ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0 """ ) fun flowNoGroup(): Flow>