mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 15:02:27 +02: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:
parent
0b58b4f5a9
commit
9cc917b10a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user