Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-35767

Ordering of question pool items is inconsistent

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-1000
    • Test Plan:
      Hide

      TO TEST THE FIX

      1. Enter as instructor
      2. Go to "Question Pools" and create a Question Pool
      3. Create some questions inside the question pool.
      4. Check that the questions are ordered by "first created first"
      5. Create an assessment
      6. Select "Insert new Question->Copy from question pool"
      7. Select some answers from the question pool
      8. Check that they follow the same order as in the question pool screen.

      Show
      TO TEST THE FIX 1. Enter as instructor 2. Go to "Question Pools" and create a Question Pool 3. Create some questions inside the question pool. 4. Check that the questions are ordered by "first created first" 5. Create an assessment 6. Select "Insert new Question->Copy from question pool" 7. Select some answers from the question pool 8. Check that they follow the same order as in the question pool screen.

      Description

      If you create a question pool with a set of items (for example through the quick create/markup text), then the items are stored internally (the SEQUENCE value in the db) in creation order, i.e. if you created them as

      Z
      X
      Y
      A
      B

      then they would be stored with Z=sequence 1, X=sequence 2, etc.

      However, when you view a question pool, the items are displayed in alphabetical order, so the above would be A,B,C,Y,Z.

      This difference is significant because when you use a question pool for an assessment, the published assessment items use the original sequence (i.e. Z,X,Y,A,B), for example for display in the Assessment Scores pages for items from the question pool, so you would have Q1=Z, Q2=X, Q3=Y, etc.

      This is confusing as it appears to be an arbitrary ordering to the user, and does not match the ordering that the user sees if he/she looks at the original question pool.

      Recommendation: the ordering of items from a question pool should follow the alphabetical ordering, rather than the implicit creation ordering, so that the display in the UI is consistent to the user.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexgj Alejandro González Jiménez
                  Reporter:
                  smarquard Stephen Marquard
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code