implement filters for search (#596)
closes #596 Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
21a67513f2
commit
d281b8d3ae
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ pub async fn search_pdus<'a>(
|
|||
.ok()
|
||||
})
|
||||
.ready_filter(|pdu| !pdu.is_redacted())
|
||||
.ready_filter(|pdu| pdu.matches(&query.criteria.filter))
|
||||
.filter_map(move |pdu| async move {
|
||||
self.services
|
||||
.state_accessor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue