diff --git a/mythplugins/mythmusic/mythmusic/smartplaylist.cpp b/mythplugins/mythmusic/mythmusic/smartplaylist.cpp
index d735aea..fc3d695 100644
a
|
b
|
QString getCriteriaSQL(QString fieldName, QString operatorName, |
200 | 200 | } |
201 | 201 | else if (Operator->name == "starts with") |
202 | 202 | { |
203 | | result = result + " LIKE " + formattedFieldValue(QString("%") + value1); |
| 203 | result = result + " LIKE " + formattedFieldValue(value1 + QString("%")); |
204 | 204 | } |
205 | 205 | else if (Operator->name == "ends with") |
206 | 206 | { |
207 | | result = result + " LIKE " + formattedFieldValue(value1 + "%"); |
| 207 | result = result + " LIKE " + formattedFieldValue(QString("%") + value1); |
208 | 208 | } |
209 | 209 | else if (Operator->name == "contains") |
210 | 210 | { |