summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-10-07 10:54:39 +0530
committerGitHub2017-10-07 10:54:39 +0530
commit39ec0271244826b2693f01f6daaa99525404e15a (patch)
tree04cf534ac2cdc90f386e051588bf443fc61219ff /yaksh/templates
parenta626f3792d03ccd96a1c49c7096076950d020c5a (diff)
parent2eb511847777e4e941ed5fc40783086d5e0bdfcc (diff)
downloadonline_test-39ec0271244826b2693f01f6daaa99525404e15a.tar.gz
online_test-39ec0271244826b2693f01f6daaa99525404e15a.tar.bz2
online_test-39ec0271244826b2693f01f6daaa99525404e15a.zip
Merge pull request #343 from adityacp/fix_shuffle_questions
Fix shuffle questions
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/exam.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 4d211d2..9596c1c 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -46,7 +46,7 @@
<div class="col-sm-3 col-md-2 sidebar">
<p> Question Navigator </p>
<ul class="pagination pagination-sm">
- {% for qid in paper.questions.all %}
+ {% for qid in paper.get_all_ordered_questions %}
{%if paper.question_paper.quiz.allow_skip %}
{% if qid in paper.get_questions_unanswered %}
{% if qid.id == question.id %}