Add spawn expansion filtering

This commit is contained in:
Akkadius
2020-04-04 06:08:56 -05:00
parent 80baf1b9ed
commit be8a6b6af4
2 changed files with 6 additions and 3 deletions
@@ -47,11 +47,11 @@ namespace ContentFilterCriteria {
std::string flags_in_filter;
if (!flags.empty()) {
flags_in_filter = fmt::format("OR content_flags IN ({})", implode(", ", flags));
flags_in_filter = fmt::format(" OR content_flags IN ({})", implode(", ", flags));
}
criteria += fmt::format(
" AND (content_flags IS NULL {})",
" AND (content_flags IS NULL{})",
flags_in_filter
);