mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-01-13 Fred Gleason <fredg@paravelsystems.com>
* Added RD_LISTWIDGET_ITEM_WIDTH_PADDING and RD_LISTWIDGET_ITEM_HEIGHT defines in 'lib/rd.h' to define consistent item sizes in list-style widgets. * Modified rdlibrary(1) to use a tree-based model. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -244,7 +244,8 @@ QString RDCartFilter::filterSql(const QStringList &and_fields) const
|
||||
for(int i=0;i<and_fields.size();i++) {
|
||||
sql+="&& "+and_fields.at(i)+" ";
|
||||
}
|
||||
sql+=" group by CART.NUMBER order by CART.NUMBER ";
|
||||
// sql+=" group by CART.NUMBER order by CART.NUMBER ";
|
||||
sql+=" order by CART.NUMBER ";
|
||||
if(d_showmatches_box->isChecked()) {
|
||||
sql+=QString().sprintf("limit %d ",RD_LIMITED_CART_SEARCH_QUANTITY);
|
||||
}
|
||||
|
Reference in New Issue
Block a user