Allow more than one tag in argument in get_tags().
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Because dynamic input fields are not implemented in the Web-UI, we use one input field with commas for now.
This commit is contained in:
parent
a9885482f7
commit
f373dd3363
|
@ -123,7 +123,10 @@ vector<string> get_tags()
|
||||||
const string tag{element.getValue()};
|
const string tag{element.getValue()};
|
||||||
if (!tag.empty())
|
if (!tag.empty())
|
||||||
{
|
{
|
||||||
tags_string.push_back(tolower(tag));
|
const auto new_tags{string_to_vector(tolower(tag))};
|
||||||
|
tags_string.insert(tags_string.end(),
|
||||||
|
std::make_move_iterator(new_tags.begin()),
|
||||||
|
std::make_move_iterator(new_tags.end()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user