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

Allow search area itemid to be a string

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: Global search
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      Right now, itemid has to be unique (in a search area) and also has to be an int.

      The severely limits the ability to index certain types of records, like email messages, because you can't index the message multiple times in references to different owneruserids.

      Ideally I would be able to have an itemid like 'userid:messageid'.

      After chatting in the dev chat, there is no real immediate concern with changing it to a string, it just needs to be looked into deeper.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                emerrill Eric Merrill
                Participants:
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: