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

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

    XMLWordPrintable

Details

    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-32238-master
    • 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

    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.

      Attachments

        Activity

          People

            ankit_frenz Ankit Agarwal
            markn Mark Nelson
            Rossiani Wijaya Rossiani Wijaya
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/May/12