Add missing device search filter.

This commit is contained in:
Orne Brocaar 2023-05-29 16:26:03 +01:00
parent 93ae75e3fa
commit 9e15c48217

View File

@ -266,6 +266,11 @@ impl DeviceService for Device {
let filters = device::Filters {
application_id: Some(app_id),
multicast_group_id: mg_id,
search: if req.search.is_empty() {
None
} else {
Some(req.search.to_string())
},
..Default::default()
};