From 0524e30987c32a52d17a2e00a8caff36b2dcd0f4 Mon Sep 17 00:00:00 2001 From: Craig Drummond Date: Fri, 1 Dec 2017 19:12:37 +0000 Subject: [PATCH] Also add year filtering to playqueue Issue #1131 --- ChangeLog | 4 ++-- gui/librarypage.cpp | 2 +- gui/mainwindow.cpp | 5 +++++ models/proxymodel.cpp | 36 +++++++++++++++++++++++++++++++++++- models/proxymodel.h | 2 ++ 5 files changed, 45 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d4350fa1..b594cab60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,8 +24,8 @@ 17. Add command-line options to set debugging and to disable network access. 18. Reduce memory usage by correctly calculating cost of covers for in-memory cache. -19. Make it possible to filter on year (or range of years) in library search - field. +19. Make it possible to filter on year (or range of years) in library and + playqueue search fields. 2.2.0 ----- diff --git a/gui/librarypage.cpp b/gui/librarypage.cpp index 24e560d83..6c2365ca6 100644 --- a/gui/librarypage.cpp +++ b/gui/librarypage.cpp @@ -56,7 +56,7 @@ LibraryPage::LibraryPage(QWidget *p) config.beginGroup(SqlLibraryModel::groupingStr(MpdLibraryModel::self()->topLevel())); view->load(config); - view->setSearchToolTip(tr("

Enter a string to search artist, album, and track titles. To filter based on year, add #year-range to search string - e.g.