Index: lams_tool_scratchie/conf/hibernate/mappings/org/lamsfoundation/lams/tool/scratchie/model/Scratchie.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_scratchie/conf/hibernate/mappings/org/lamsfoundation/lams/tool/scratchie/model/Attic/Scratchie.hbm.xml,v diff -u -r1.1.2.2 -r1.1.2.3 --- lams_tool_scratchie/conf/hibernate/mappings/org/lamsfoundation/lams/tool/scratchie/model/Scratchie.hbm.xml 20 Jul 2016 14:33:47 -0000 1.1.2.2 +++ lams_tool_scratchie/conf/hibernate/mappings/org/lamsfoundation/lams/tool/scratchie/model/Scratchie.hbm.xml 23 Feb 2017 10:19:56 -0000 1.1.2.3 @@ -135,6 +135,14 @@ column="burning_questions_enabled" /> + + items = service.getItemsWithIndicatedScratches(toolSessionId); + + // shuffling items + if (scratchie.isShuffleItems()) { + //items is a Set at this moment + ArrayList shuffledItems = new ArrayList(items); + Collections.shuffle(shuffledItems); + items = shuffledItems; + } // for teacher in monitoring display the number of attempt. if (mode.isTeacher()) { Index: lams_tool_scratchie/web/pages/authoring/advance.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_scratchie/web/pages/authoring/advance.jsp,v diff -u -r1.6.2.4 -r1.6.2.5 --- lams_tool_scratchie/web/pages/authoring/advance.jsp 20 Jul 2016 14:33:47 -0000 1.6.2.4 +++ lams_tool_scratchie/web/pages/authoring/advance.jsp 23 Feb 2017 10:19:56 -0000 1.6.2.5 @@ -16,12 +16,19 @@
-
+
+ +
+