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

Provide search template with componentname and areaname

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: Global search
    • Labels:

      Description

      We'd like to override the search renderer and template to show icons next to results as it can be hard to differentiate between the different types of result when names can be similar.

      In core_search/document there is already a line to grab the componentname and areaname but this is not used anywhere in the function. Could we have these variables sent through to the template?

        Attachments

          Activity

            People

            Assignee:
            skylarkelty Skylar Kelty
            Reporter:
            skylarkelty Skylar Kelty
            Peer reviewer:
            David Monllaó
            Integrator:
            Dan Poltawski
            Tester:
            cameron1729
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/16