2023-08-20 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlibrary(1) that caused it to emit a SQL error when
	processing notifications for cart object with one or more Scheduler
	Codes selected.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-08-20 18:21:18 -04:00
parent 5f7083839c
commit 6c1abab4b0
2 changed files with 6 additions and 0 deletions

View File

@ -24350,3 +24350,7 @@
2023-08-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) where a SQL call was not properly
escaped.
2023-08-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) that caused it to emit a SQL error when
processing notifications for cart object with one or more Scheduler
Codes selected.

View File

@ -702,6 +702,8 @@ void MainWidget::notificationReceivedData(RDNotification *notify)
"from `CART` "+
"left join `GROUPS` on `CART`.`GROUP_NAME`=`GROUPS`.`NAME` "+
"left join `CUTS` on `CART`.`NUMBER`=`CUTS`.`CART_NUMBER` "+
"left join `CART_SCHED_CODES` "+
"on `CART`.`NUMBER`=`CART_SCHED_CODES`.`CART_NUMBER` "+
lib_cart_filter->filterSql(and_fields);
q=new RDSqlQuery(sql);
if(q->first()) {