mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +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:
@@ -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