2022-03-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the cart filter that caused the
	first-occurring group name to be omitted when filtering for 'ALL'
	groups.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-03-01 15:26:12 -05:00
parent 3a5bc74484
commit 710a0bf913
2 changed files with 5 additions and 1 deletions

View File

@@ -231,7 +231,7 @@ QString RDCartFilter::filterSql(const QStringList &and_fields) const
// Group Filter
//
QStringList groups;
for(int i=1;i<d_group_box->count();i++) {
for(int i=0;i<d_group_box->count();i++) {
groups.push_back(d_group_box->itemText(i));
}
if(groups.size()==0) { // No groups selected, so force an empty selection