Explorar o código

Fix filter for pending surveys - refs BT#11913

Angel Fernando Quiroz Campos %!s(int64=7) %!d(string=hai) anos
pai
achega
78c8041e5e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main/survey/surveyUtil.class.php

+ 1 - 0
main/survey/surveyUtil.class.php

@@ -3774,6 +3774,7 @@ class SurveyUtil
             INNER JOIN ChamiloCourseBundle:CSurveyInvitation si
                 WITH (s.code = si.surveyCode AND s.cId = si.cId AND s.sessionId = si.sessionId )
             WHERE si.user = :user_id AND s.availFrom <= :now AND s.availTill >= :now
+                AND si.answered = 0
             ORDER BY s.availTill ASC
         ";