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

Debug error when rendering a database search form with a date field

    XMLWordPrintable

    Details

      Description

      If you add a field of type date to a database and include it in the search template then you will the an error when viewing the search page.

      This error is caused by the default value for the 'value' parameter on the display_search_field function not having the expected array keys.

        Attachments

          Activity

            People

            Assignee:
            andrew_dc_hancox Andrew Hancox
            Reporter:
            andrew_dc_hancox Andrew Hancox
            Peer reviewer:
            Sujith Haridasan Sujith Haridasan
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Fix Release Date:
              10/Jan/22