mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-18 20:57:55 +00:00
Add missing device search filter.
This commit is contained in:
parent
93ae75e3fa
commit
9e15c48217
@ -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()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user