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

Global search block - relative form URL broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Global search
    • Labels:
      None
    • Environment:
      PHP/5.1.4
      Internal/ development

      Description

      The form 'action' URL is a relative one, so my Search block in a course submits to ...course/search/..., which gives a "404 Object not found" error.

      Unfortunately, fix this and you get PHP warnings:
      "... Enter your search query
      Notice: Undefined variable: adv in /var/www/html/ndf42/head/search/query.php on line 136

      Warning: Invalid argument supplied for foreach() in /var/www/html/ndf42/head/search/query.php on line 139
      ..."

        Attachments

          Activity

            People

            Assignee:
            nfreear Nick Freear
            Reporter:
            nfreear Nick Freear
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07