2021-09-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlibrary(1) that could cause less than
	100 carts to be displayed when the 'Show Only First 100 Matches'
	box was ticked.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-13 12:33:12 -04:00
parent 76548116e5
commit 7bd18d2ea5
10 changed files with 44 additions and 24 deletions

View File

@@ -80,7 +80,7 @@ AutofillCarts::AutofillCarts(RDSvc *svc,QWidget *parent)
QString sql=QString("left join `AUTOFILLS` ")+
"on `CART`.`NUMBER`=`AUTOFILLS`.`CART_NUMBER` where "+
"`AUTOFILLS`.`SERVICE`='"+RDEscapeString(svc_svc->name())+"'";
svc_cart_model->setFilterSql(sql);
svc_cart_model->setFilterSql(sql,RD_MAX_CART_NUMBER+1);
}