From 10a703c189c394b7aef470eb9c572fb37fcd717f Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 3 Apr 2022 09:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=80=E6=9C=89=E4=B9=A6?= =?UTF-8?q?=E7=AD=BE=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt b/app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt index 6aa1c315c..02451f168 100644 --- a/app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/BookmarkDao.kt @@ -7,7 +7,11 @@ import io.legado.app.data.entities.Bookmark @Dao 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 @Query(