mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-30 15:42:34 +02:00
2022-12-07 Fred Gleason <fredg@paravelsystems.com>
* Extended the 'LogSearchStrings=' directive in rd.conf(5) to include searches for podcast items. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
a13d27e4ce
commit
1b3e2b4464
@ -23767,3 +23767,6 @@
|
|||||||
2022-12-07 Fred Gleason <fredg@paravelsystems.com>
|
2022-12-07 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Extended the 'LogSearchStrings=' directive in rd.conf(5) to
|
* Extended the 'LogSearchStrings=' directive in rd.conf(5) to
|
||||||
include searches for logs.
|
include searches for logs.
|
||||||
|
2022-12-07 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Extended the 'LogSearchStrings=' directive in rd.conf(5) to
|
||||||
|
include searches for podcast items.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Filter widget for podcasts.
|
// Filter widget for podcasts.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -112,6 +112,12 @@ QString RDPodcastFilter::searchString(const QString &filter,bool active_only)
|
|||||||
|
|
||||||
void RDPodcastFilter::filterChangedData(const QString &str)
|
void RDPodcastFilter::filterChangedData(const QString &str)
|
||||||
{
|
{
|
||||||
|
if(rda->config()->logSearchStrings()) {
|
||||||
|
rda->syslog(rda->config()->logSearchStringsLevel(),
|
||||||
|
"searching podcast items by string: \"%s\" [%s]",
|
||||||
|
d_filter_edit->text().toUtf8().constData(),
|
||||||
|
RDConfig::hexify(d_filter_edit->text()).toUtf8().constData());
|
||||||
|
}
|
||||||
emit filterChanged(filterSql());
|
emit filterChanged(filterSql());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user