Commit e17552ab authored by alexpott's avatar alexpott

Issue #2158339 by jhodgdon, bzrudi71: Search results page broken on PostgreSQL.

parent f3732c68
......@@ -224,6 +224,10 @@ public function execute() {
// Add the language code of the indexed item to the result of the query,
// since the node will be rendered using the respective language.
->fields('i', array('langcode'))
// And since SearchQuery makes these into GROUP BY queries, if we add
// a field, for PostgreSQL we also need to make it an aggregate or a
// GROUP BY. In this case, we want GROUP BY.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment