添加所有书签界面

pull/1751/head
kunfei 3 years ago
parent 290762d1f5
commit 10a703c189
  1. 6
      app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt

@ -7,7 +7,11 @@ import io.legado.app.data.entities.Bookmark
@Dao @Dao
interface BookmarkDao { interface BookmarkDao {
@get:Query("select * from bookmarks order by bookName, bookAuthor, chapterIndex, chapterPos") @get:Query(
"""
select * from bookmarks order by bookName collate localized, bookAuthor collate localized, chapterIndex, chapterPos
"""
)
val all: List<Bookmark> val all: List<Bookmark>
@Query( @Query(

Loading…
Cancel
Save