mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add labels to library search calls
This commit is contained in:
parent
e66531cd77
commit
a38eae380e
1 changed files with 5 additions and 0 deletions
|
|
@ -261,6 +261,11 @@ class LibraryViewModel @Inject constructor(
|
|||
query += " $searchText"
|
||||
}
|
||||
|
||||
activeLabelsLiveData.value?.let {
|
||||
query += " label:"
|
||||
query += it.joinToString { label -> label.name }
|
||||
}
|
||||
|
||||
return query
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue