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

Allow search area itemid to be a string

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.2.1
    • None
    • Global search
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emerrill Eric Merrill
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: