From cbdf0a4735b114b0362d7091c1cd5fdd95d52fe2 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 8 Jul 2021 16:28:21 -0400 Subject: [PATCH] 2021-07-08 Fred Gleason * Fixed a regression in the 'Add Recording' dialog in rdcatch(1) that threw a SQL error. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ rdcatch/add_recording.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 29b185a0..d4aa1c6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22030,3 +22030,6 @@ * Fixed a regression in rdimport(1) that caused it to repeatedly re-import files in dropbox mode when the '--delete-source' switch was set. +2021-07-08 Fred Gleason + * Fixed a regression in the 'Add Recording' dialog in rdcatch(1) + that threw a SQL error. diff --git a/rdcatch/add_recording.cpp b/rdcatch/add_recording.cpp index 6943c3f6..1aa45b53 100644 --- a/rdcatch/add_recording.cpp +++ b/rdcatch/add_recording.cpp @@ -77,7 +77,7 @@ AddRecording::AddRecording(QString *filter,QWidget *parent) button->setFont(buttonFont()); button->setText(tr("Playout")); button->setDisabled(true); - sql=QString("select `CHANNEL` from `DECKS` where (`CARD`_NUMBER`>=0)&&")+ + sql=QString("select `CHANNEL` from `DECKS` where (`CARD_NUMBER`>=0)&&")+ "(`PORT_NUMBER`>=0)&&(`CHANNEL`>128)&&(`CHANNEL`<=137)"; q=new RDSqlQuery(sql); if(q->first()) {