Closed (fixed)
Project:
Quiz
Version:
7.x-4.x-dev
Component:
Code - Views
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
8 May 2012 at 15:52 UTC
Updated:
22 Jun 2014 at 16:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
acrazyanimal commentedComment #2
joel_osc commentedSeeing a problem with this patch...I get syntax error on line 147. In debugging it looks like around line 140:
$query->addExpression(':op(vid)', 'vid', array(':op' => $operation));The :op( does not get replaced by MIN or MAX. This code may be simpler to just change lines 131:137 to:
Comment #3
acrazyanimal commentedThanks for catching that. :) I guess I missed testing the latest and initial revision scenarios. Here is an updated version.
Comment #4
Anonymous (not verified) commentedthanks for the patch.
Small improvement: in order to get rid of the message
Notice: Undefined variable: operator in quiz_views_handler_argument_quiz_nid->subselect_vids()
Add in function subselect_vids (line 123):
$operator=NULL;
Comment #5
acrazyanimal commented@Jaapx can you explain how you got this error or export your view and post it here?
Comment #6
falcon commentedThanks!