Просмотр исходного кода

Fix filter for pending surveys - refs BT#11913

Angel Fernando Quiroz Campos 7 лет назад
Родитель
Сommit
78c8041e5e
1 измененных файлов с 1 добавлено и 0 удалено
  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
         ";