mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
Move 'CART.SCHED_CODES' field to 'CART_SCHED_CODES' table.
This commit is contained in:
@@ -1411,14 +1411,12 @@ QString MainWidget::WhereClause() const
|
||||
schedcode=lib_codes_box->currentText();
|
||||
}
|
||||
if(lib_group_box->currentText()==QString(tr("ALL"))) {
|
||||
sql+=QString(" where ")+
|
||||
RDAllCartSearchText(lib_filter_edit->text(),schedcode,
|
||||
sql+=RDAllCartSearchText(lib_filter_edit->text(),schedcode,
|
||||
rda->user()->name(),true)+" && "+type_filter;
|
||||
|
||||
}
|
||||
else {
|
||||
sql+=QString(" where ")+
|
||||
RDCartSearchText(lib_filter_edit->text(),lib_group_box->currentText(),
|
||||
sql+=RDCartSearchText(lib_filter_edit->text(),lib_group_box->currentText(),
|
||||
schedcode,true)+" && "+type_filter;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user