A view gives the message Unknown column 'quiz_multichoice_answers.nid' in 'on clause'.

This can be solved by changing quiz/includes/views/quiz.views.inc
actual code from line 860:
'question_nid' => array(
'title' => t('Answers Question Node NID'),
'help' => t('The ID of the Question Node.'),
'argument' => array(
'handler' => 'views_handler_argument_numeric',
//'name_field' => 'title',
'numeric' => TRUE,
'validate type' => 'nid',
),
'filter' => array(
'handler' => 'quiz_views_handler_filter_numeric',
'help' => t('Filter results to a particular subset of question versions.'),
),
'sort' => array('handler' => 'views_handler_sort'),
'relationship' => array(
'handler' => 'views_handler_relationship',
'base' => 'node',
'field' => 'nid',
'label' => t('node'),
),
),

change lin 877 into:
'base field' => 'nid',
and flush caches.

Comments

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)