From 154d3c1fbaf052b3b5c62d462f35681935e351d9 Mon Sep 17 00:00:00 2001 From: casey langen Date: Thu, 14 Feb 2019 19:58:47 -0800 Subject: [PATCH] Wow, fixed a crazy old bug when filtering songs by category! --- src/core/library/query/local/CategoryTrackListQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/library/query/local/CategoryTrackListQuery.cpp b/src/core/library/query/local/CategoryTrackListQuery.cpp index 36d82e22d..c463ba205 100755 --- a/src/core/library/query/local/CategoryTrackListQuery.cpp +++ b/src/core/library/query/local/CategoryTrackListQuery.cpp @@ -138,7 +138,7 @@ void CategoryTrackListQuery::RegularQuery(musik::core::db::Connection &db) { std::string limitAndOffset = this->GetLimitAndOffset(); 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));