From dc5111ca47107e51b50933d2b886586ab7292036 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 26 Apr 2016 01:41:13 +0100 Subject: Filter by the right table alias --- gentoobrowse-api/service/utils/entityWhereFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3