Standard Unit Filter: Make "id=" match no units
This commit is contained in:
parent
238d70ee22
commit
89e6aeee16
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ bool basic_unit_filter_impl::internal_matches_filter(const unit & u, const map_l
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!vcfg["id"].empty()) {
|
||||
if (!vcfg["id"].blank()) {
|
||||
std::vector<std::string> id_list = utils::split(vcfg["id"]);
|
||||
if (std::find(id_list.begin(), id_list.end(), u.id()) == id_list.end()) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue