Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
bcb85c32
Commit
bcb85c32
authored
Apr 24, 2019
by
Noor Binte Amir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ChatRoomDao.kt
Fixed sorting by making it case insensitive.
parent
26d85e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ChatRoomDao.kt
app/src/main/java/chat/rocket/android/db/ChatRoomDao.kt
+2
-2
No files found.
app/src/main/java/chat/rocket/android/db/ChatRoomDao.kt
View file @
bcb85c32
...
...
@@ -69,7 +69,7 @@ abstract class ChatRoomDao : BaseDao<ChatRoomEntity> {
@Query
(
"""
$BASE_QUERY
$FILTER_NOT_OPENED
ORDER BY name
ORDER BY name
COLLATE NOCASE
"""
)
abstract
fun
getAllAlphabetically
():
LiveData
<
List
<
ChatRoom
>>
...
...
@@ -79,7 +79,7 @@ abstract class ChatRoomDao : BaseDao<ChatRoomEntity> {
$FILTER_NOT_OPENED
ORDER BY
$TYPE_ORDER,
name
name
COLLATE NOCASE
"""
)
abstract
fun
getAllAlphabeticallyGrouped
():
LiveData
<
List
<
ChatRoom
>>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment