mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-15 02:31:57 +00:00
Allow guild summary to be searched
This commit is contained in:
parent
9d93b12788
commit
3646831f4d
1 changed files with 4 additions and 0 deletions
|
|
@ -96,7 +96,11 @@ class PublicGuildsRecyclerViewAdapter(data: OrderedRealmCollection<Group>?, auto
|
|||
unfilteredData?.let {
|
||||
if (constraint.isNotEmpty()) {
|
||||
updateData(it.where()
|
||||
.beginGroup()
|
||||
.contains("name", constraint.toString(), Case.INSENSITIVE)
|
||||
.or()
|
||||
.contains("summary", constraint.toString(), Case.INSENSITIVE)
|
||||
.endGroup()
|
||||
.findAll())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue