mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-01 06:33:56 +01:00
2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) that caused added carts to appear that did not match the currently selected filter. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22367,3 +22367,6 @@
|
||||
2021-09-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in 'RDGroupListModel' that caused SQL errors
|
||||
upon startup in rdairplay(1) and rdcartslots(1).
|
||||
2021-09-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdlibrary(1) that caused added carts to appear
|
||||
that did not match the currently selected filter.
|
||||
|
||||
@@ -201,7 +201,11 @@ QSizePolicy RDCartFilter::sizePolicy() const
|
||||
|
||||
QString RDCartFilter::filterSql(const QStringList &and_fields) const
|
||||
{
|
||||
QString sql=" where ";
|
||||
QString sql=QString(" where ");
|
||||
|
||||
for(int i=0;i<and_fields.size();i++) {
|
||||
sql+="("+and_fields.at(i)+") && ";
|
||||
}
|
||||
|
||||
//
|
||||
// Cart Type Filter
|
||||
|
||||
Reference in New Issue
Block a user