Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61837

Show tag suggestions in tag modal fields

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.5
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Go to an existing course or create one (c1).
      3. Enrol a couple of users as teachers (t1, t2)
      4. Create the Question sharer role and assign it to t1 in the system context
        Note: When defining the permissions for the Question sharer role set the moodle/question:tagall permission to "Allow"
      5. Go to question bank.
      6. Select Default for c1 on the category drop-down if not selected.
      7. Click Create a new question button and select any question type (essay is fine).
      8. Fill the form and enter a new tag c1tag1.
      9. Back on the question bank, Select Default for system on the category drop-down.
      10. Click on the Create a new question button again.
      11. Select essay again and this time, there will be two tag fields:
        • On tags field, enter systemtag
        • On Course: c1 tags field, enter c1tag2
      12. Save changes.
      13. Log in as t2 and go to c1 course.
      14. Go to question bank and click Create a new question button and select any question type (essay is fine).
      15. Fill the form and on the tags field click on the field and press down key.
        • Make sure a list of available tags are displayed: systemtag, c1tag1, c1tag2...
        • Make sure you are able to select existing tags and add your own tags.
      16. Add a custom tag, please use a specific qtag1
      17. Save.
      18. Now log in as t1 and go to question bank.
      19. Select a category: “Default a course 1”
      20. Add a new essay question.
      21. Fill the form and on the tags field click on the field and press down key.
        • Make sure a list of available tags are displayed: systemtag, c1tag1, c1tag2...
        • Also make sure the tag you recently added as t2 qtag1 is available on the list of suggested tags.
        • Make sure you are able to select existing tags and add your own tags.
      22. Repeat the process selecting different contexts “Default for Miscellaneous”, “Default for System” on the question bank page and add a question to each one of those contexts.
        • Make sure a list of available tags are displayed: systemtag, c1tag1, c1tag2... and other tags added are displayed.
      Show
      Log in as admin Go to an existing course or create one (c1). Enrol a couple of users as teachers (t1, t2) Create the Question sharer role and assign it to t1 in the system context Note: When defining the permissions for the Question sharer role set the moodle/question:tagall permission to "Allow" Go to question bank. Select Default for c1 on the category drop-down if not selected. Click Create a new question button and select any question type (essay is fine). Fill the form and enter a new tag c1tag1 . Back on the question bank, Select Default for system on the category drop-down. Click on the Create a new question button again. Select essay again and this time, there will be two tag fields: On tags field, enter systemtag On Course: c1 tags field, enter c1tag2 Save changes. Log in as t2 and go to c1 course. Go to question bank and click Create a new question button and select any question type (essay is fine). Fill the form and on the tags field click on the field and press down key. Make sure a list of available tags are displayed: systemtag , c1tag1 , c1tag2 ... Make sure you are able to select existing tags and add your own tags. Add a custom tag, please use a specific qtag1 Save. Now log in as t1 and go to question bank. Select a category: “Default a course 1” Add a new essay question. Fill the form and on the tags field click on the field and press down key. Make sure a list of available tags are displayed: systemtag , c1tag1 , c1tag2 ... Also make sure the tag you recently added as t2 qtag1 is available on the list of suggested tags. Make sure you are able to select existing tags and add your own tags. Repeat the process selecting different contexts “Default for Miscellaneous”, “Default for System” on the question bank page and add a question to each one of those contexts. Make sure a list of available tags are displayed: systemtag , c1tag1 , c1tag2 ... and other tags added are displayed.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61837-master

      Description

      As reported by Joseph Thibault on MUA-32 the tag modal fields are not displaying tag suggestions.

        Attachments

        1. tag suggestion edit form.png
          tag suggestion edit form.png
          32 kB
        2. tag suggestions modal.png
          tag suggestions modal.png
          43 kB
        3. Step 15 and 16.png
          Step 15 and 16.png
          12 kB
        4. Step 21.png
          Step 21.png
          15 kB

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            lameze Simey Lameze
            Peer reviewer:
            Ryan Wyllie
            Integrator:
            Andrew Nicols
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/May/18