diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-26 01:41:13 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-26 01:41:13 +0100 |
commit | dc5111ca47107e51b50933d2b886586ab7292036 (patch) | |
tree | b1a9b0e21eadf5b43828229df3ebe711429bd134 | |
parent | Pass packageId, not a hard coded 1. (diff) | |
download | gentoobrowse-api-dc5111ca47107e51b50933d2b886586ab7292036.tar.bz2 gentoobrowse-api-dc5111ca47107e51b50933d2b886586ab7292036.tar.xz gentoobrowse-api-dc5111ca47107e51b50933d2b886586ab7292036.zip |
Filter by the right table alias
-rw-r--r-- | gentoobrowse-api/service/utils/entityWhereFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/utils/entityWhereFilter.cpp b/gentoobrowse-api/service/utils/entityWhereFilter.cpp index 8e29cfe..d6189bd 100644 --- a/gentoobrowse-api/service/utils/entityWhereFilter.cpp +++ b/gentoobrowse-api/service/utils/entityWhereFilter.cpp @@ -12,7 +12,7 @@ namespace Gentoo { void EntityWhereFilter::writeSql(AdHoc::Buffer & sql) { - sql.appendbf("b.%s = ?", entityColName); + sql.appendbf("a.%s = ?", entityColName); } void |