mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -481,7 +481,7 @@ void EditSystem::okData()
|
||||
}
|
||||
filter_sql=filter_sql.left(filter_sql.length()-2)+
|
||||
") order by `CART`.`TITLE` ";
|
||||
edit_duplicate_model->setFilterSql(filter_sql);
|
||||
edit_duplicate_model->setFilterSql(filter_sql,RD_MAX_CART_NUMBER+1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user