kunfei 4 ani în urmă
părinte
comite
96a22f69ec
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

+ 1 - 1
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
         """
     )