Wow, fixed a crazy old bug when filtering songs by category!

This commit is contained in:
casey langen 2019-02-14 19:58:47 -08:00
parent 81332c2af8
commit 154d3c1fba

View File

@ -138,7 +138,7 @@ void CategoryTrackListQuery::RegularQuery(musik::core::db::Connection &db) {
std::string limitAndOffset = this->GetLimitAndOffset(); std::string limitAndOffset = this->GetLimitAndOffset();
if (this->filter.size()) { if (this->filter.size()) {
trackFilter = " AND " + category::CATEGORY_TRACKLIST_FILTER; trackFilter = category::CATEGORY_TRACKLIST_FILTER;
args.push_back(category::StringArgument(this->filter)); args.push_back(category::StringArgument(this->filter));
args.push_back(category::StringArgument(this->filter)); args.push_back(category::StringArgument(this->filter));
args.push_back(category::StringArgument(this->filter)); args.push_back(category::StringArgument(this->filter));