From bd2fee5e7b23df0e5629d783ee2fd51a2d86808e Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 2 Mar 2022 14:03:29 -0500 Subject: [PATCH] 2022-03-02 Fred Gleason * Fixed a regression in 'RDLogFilter' that caused a SQL error to be generated filtering for 'recent' logs. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ lib/rdloglistmodel.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d976f73..8888c9a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22924,3 +22924,6 @@ 2022-03-02 Fred Gleason * Fixed a bug in the log filter widget that caused entries in the 'Services' dropdown be listed in non-alphabetical order. +2022-03-02 Fred Gleason + * Fixed a regression in 'RDLogFilter' that caused a SQL error to be + generated filtering for 'recent' logs. diff --git a/lib/rdloglistmodel.cpp b/lib/rdloglistmodel.cpp index 3ada064f..ce106d56 100644 --- a/lib/rdloglistmodel.cpp +++ b/lib/rdloglistmodel.cpp @@ -246,8 +246,8 @@ void RDLogListModel::updateModel(const QString &filter_sql) "where "+ "(`TYPE`=0)&&"+ "(`LOG_EXISTS`='Y') "+ - filter_sql+ - "order by `NAME` "; + filter_sql; + // "order by `NAME` "; beginResetModel(); d_texts.clear(); d_icons.clear();