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

Add ability to hide courses from the course overview page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      PHPunit and behat tests provided.

      Manual instructions (Boost/Clean):
      To hide a course:

      1. Login as any user. 
      2. Click on the 'coursemenubtn'
      3. Choose 'Hide from view' 
      4. The selected course should disappear from view
      5. The selected course should not appear on reload and on any other grouping(other than Hidden)

      To show a hidden course: 

      1. Select 'Hidden' from the grouping filter
      2. The selected course should appear here.
      3. Click on the 'coursemenubtn'
      4. Choose 'Show this course' 
      5. The selected course should now be viewable in the other groupings as normal

      Additional tests(after further dev during integration):

      1. Confirm the filters and pagination work properly while using the hidden feature
      Show
      PHPunit and behat tests provided. Manual instructions (Boost/Clean): To hide a course: Login as any user.  Click on the 'coursemenubtn' Choose 'Hide from view'  The selected course should disappear from view The selected course should not appear on reload and on any other grouping(other than Hidden) To show a hidden course:  Select 'Hidden' from the grouping filter The selected course should appear here. Click on the 'coursemenubtn' Choose 'Show this course'  The selected course should now be viewable in the other groupings as normal Additional tests(after further dev during integration): Confirm the filters and pagination work properly while using the hidden feature
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63457-master

      Description

      As a teacher, I should be able to mark courses I don't want to see as 'hidden'.

      As a student, I should be able to mark courses I don't want to see as 'hidden'.

       

      • Hide the course from the course overview block for that user (e.g. the teacher or student)
      • Existing 'hidden' feature is for a teacher to be able to hide courses from students. This needs co-exist. In this case the student won't see the course anywhere at all. 

        Attachments

        1. 2018-11-07 , 23_23_42 - Dashboard - Mozilla Firefox.png
          49 kB
          Przemek Kaszubski
        2. hidecourses.gif
          517 kB
          Bas Brands
        3. hidecourses-show-per-page.gif
          2.04 MB
          Bas Brands

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18