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

Search block uses datetime fields.... GRRRR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Blocks
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The search block defines the docdate and updated fields as datetime, which causes Postgres to turn them into a Timestamp field.

      I have no clue what the process for updating a field is as such but I imagine we need to both update and perhaps if possible alter the postgres dml classes to better handle this situation in case it arises again.

      Cheers
      Sam

        Attachments

        1. 2010101200-MDL-24374.patch
          6 kB
          Aparup Banerjee
        2. 2010101800-MDL-24374.patch
          8 kB
          Aparup Banerjee

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10