소스 검색

Fix filter for pending surveys - refs BT#11913

Angel Fernando Quiroz Campos 7 년 전
부모
커밋
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
         ";