To the best of my understanding, the "Nodequeue: subqueue reference" argument determines which OG subqueue is to be displayed. In the views live preview, if I do not supply an argument, content is not displayed. If I supply an argument, specifically the OG NID, I get 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 'ASC LIMIT 0, 10' at line 12 query: SELECT DISTINCT node.nid AS nid, node.title AS node_title, node.language AS node_language, node_revisions.body AS node_revisions_body, node_revisions.format AS node_revisions_format, position FROM node node INNER JOIN nodequeue_nodes nodequeue_nodes_node ON node.nid = nodequeue_nodes_node.nid AND nodequeue_nodes_node.qid = 3 LEFT JOIN nodequeue_subqueue nodequeue_nodes_node__nodequeue_subqueue ON nodequeue_nodes_node.sqid = nodequeue_nodes_node__nodequeue_subqueue.sqid LEFT JOIN node_revisions node_revisions ON node.vid = node_revisions.vid WHERE nodequeue_nodes_node__nodequeue_subqueue.reference = '5' ORDER BY ASC LIMIT 0, 10 in /var/www/idove12/sites/all/modules/views/includes/view.inc on line 771.

If I create a content pane from the default view, place it within a panel, the same error is reproduced.
Of note, I created a custom view with a similar structure to the Smartqueue_og_default view and no errors occur. It works as expected.

Thanks for the module and maintenance.

CommentFileSizeAuthor
#1 1109452-views_sort_param_missing.patch614 bytescfennell

Comments

cfennell’s picture

Status: Active » Needs review
StatusFileSize
new614 bytes

Looks like the sort option wanted a relationship parameter (nodeque_rel). This patch should resolve the error.