pull/2337/head
kunfei 2 years ago
parent 4d756ccd2e
commit 5f05bb0b63
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -38,7 +38,7 @@ interface BookDao {
@Query(
"""
select * from books where type != ${BookType.audio} and origin != '${BookType.local}'
select * from books where type != ${BookType.audio} and origin = '${BookType.local}'
and ((SELECT sum(groupId) FROM book_groups where groupId > 0) & `group`) = 0
"""
)

Loading…
Cancel
Save