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

@ -22913,3 +22913,7 @@
'Stop Cart' fields if the cart picker dialog was canceled. 'Stop Cart' fields if the cart picker dialog was canceled.
2022-03-01 Fred Gleason <fredg@paravelsystems.com> 2022-03-01 Fred Gleason <fredg@paravelsystems.com>
* Adjusted element layout in the 'Edit Host' dialog in rdadmin(1). * Adjusted element layout in the 'Edit Host' dialog in rdadmin(1).
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.

View File

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