Working in Drupal 5.1, using OG 5.x.2.2

Creating a view_type "Teaser List", setting an optional argument "OG: Group nid" -- when the default is set to "Summary, sorted ascending" viewing the page returns the following error:

"user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1 query: SELECT count( DISTINCT(node.nid)) AS num_nodes FROM node node GROUP BY LIMIT 0, 10 in /path/to/site/includes/database.mysql.inc on line 172."

The error disappears when the default is set to "Display All Values" --

Given that other arguments display summary views without issue, I think this is an OG issue, and not a Views issue --

Comments

moshe weitzman’s picture

Status: Active » Fixed

fix coming shortly, with a few other Views improvements.

moshe weitzman’s picture

fix coming shortly, with a few other Views improvements.

Anonymous’s picture

Status: Fixed » Closed (fixed)