From dbd12ab80143ae382415b879c1686d4ff852e1e3 Mon Sep 17 00:00:00 2001 From: "Brian P. McGlynn" Date: Thu, 21 Apr 2016 21:56:14 -0400 Subject: [PATCH] Fix to rdlibrary.cpp to show all 100 carts in search --- ChangeLog | 3 +++ rdlibrary/rdlibrary.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f8ed661c..c5369a24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15070,3 +15070,6 @@ 2016-04-14 Fred Gleason * Removed the libXmu from the list of tested libraries for Qt3 in 'acinclude.m4'. +2015-04-21 Brian McGlynn + * Added "Group By" statement in rdlibrary/rdlibrary.cpp to allow a + full 100 results to be shown diff --git a/rdlibrary/rdlibrary.cpp b/rdlibrary/rdlibrary.cpp index fad20d5a..93e92c16 100644 --- a/rdlibrary/rdlibrary.cpp +++ b/rdlibrary/rdlibrary.cpp @@ -1090,7 +1090,7 @@ void MainWidget::RefreshList() RDCartSearchText(lib_filter_edit->text(),lib_group_box->currentText(), schedcode,true)+" && "+type_filter; } - sql+=" order by CART.NUMBER"; + sql+=" group by CART.NUMBER order by CART.NUMBER"; if(lib_showmatches_box->isChecked()) { sql+=QString().sprintf(" limit %d",RD_LIMITED_CART_SEARCH_QUANTITY); }