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

Toggling the hide icon does not update the timemodified column in the course table.

    Details

    • Testing Instructions:
      Hide
      1. Add a few courses if you dont have already
      2. Goto site admin>courses>add/edit courses> click on a category
      3. From the list of courses displayed hide a course
      4. check in your database to make sure the 'timemodified' field is updated for this course (table mdl_course)
      5. Now unhide the course and make sure 'timemodified' is updated again
      Show
      Add a few courses if you dont have already Goto site admin>courses>add/edit courses> click on a category From the list of courses displayed hide a course check in your database to make sure the 'timemodified' field is updated for this course (table mdl_course) Now unhide the course and make sure 'timemodified' is updated again
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-32238-master

      Description

      When viewing the list of courses in the category screen, you are given the option to hide or show a course. Clicking on this icon does not update the timemodified column for the course record, however editing the course using the course settings and updating the 'Availability' option will modify the timemodified column. This is required for a cron job I am writing which should only process courses that have been modified after a given time range.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/12