I've run into an SQL issue in _node_resource_index(). The WHERE causes uses an `n` alias for the `node` table column, but it's not defined so it fails.

Here's the error:

Unknown column 'n.language' in 'where clause'; query: SELECT * FROM node WHERE (n.language ='sv' OR n.language ='' OR n.language IS NULL) ORDER BY sticky DESC, created DESC LIMIT 0,20

I've attached a patch.

CommentFileSizeAuthor
services-i18n.patch924 byteshenrrrik

Comments

kylebrowning’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.