https://bugs.kde.org/show_bug.cgi?id=180268
--- Comment #17 from Johannes <johannes.lists+bugs.kde....@tannenhof-imshausen.de> --- (In reply to Maik Qualmann from comment #16) > The SQL query is not correct, a table column "creator" does not exist. Only > "proberty" with an entry as "creator". I'll watch it on the weekend. I'm sorry, was uploading it to fast. It should be the following, I think: + else if (name == QLatin1String("creator")) + { + sql += QString::fromUtf8(" (Images.id IN " + " (SELECT imageid FROM ImageCopyright " + " WHERE property='creator' AND value "); + ImageQueryBuilder::addSqlRelation(sql, relation); + sql += QString::fromUtf8(" ?)) "); + *boundValues << DatabaseComment::Comment << fieldQuery.prepareForLike(reader.value()); + } -- You are receiving this mail because: You are watching all bug changes.