diff --git a/ChangeLog b/ChangeLog index 5f010d72..2713260f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22913,3 +22913,7 @@ 'Stop Cart' fields if the cart picker dialog was canceled. 2022-03-01 Fred Gleason * Adjusted element layout in the 'Edit Host' dialog in rdadmin(1). +2022-03-01 Fred Gleason + * Fixed a regression in the cart filter that caused the + first-occurring group name to be omitted when filtering for 'ALL' + groups. diff --git a/lib/rdcartfilter.cpp b/lib/rdcartfilter.cpp index 8414a52a..57e5a7e2 100644 --- a/lib/rdcartfilter.cpp +++ b/lib/rdcartfilter.cpp @@ -231,7 +231,7 @@ QString RDCartFilter::filterSql(const QStringList &and_fields) const // Group Filter // QStringList groups; - for(int i=1;icount();i++) { + for(int i=0;icount();i++) { groups.push_back(d_group_box->itemText(i)); } if(groups.size()==0) { // No groups selected, so force an empty selection