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

Course search doesn't find course when search include "-" with a space before or after

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.5, 3.2, 3.3
    • Fix Version/s: 3.1.6, 3.2.3
    • Component/s: Course
    • Labels:

      Description

      Hi,

      the search course feature is useful, but it does not find courses when the search sentence include a - sign, with a space before and/or after.

      As an exemple, if you have a course named "Présentation - Moodlebox" :

      • "Présentation - Moodlebox" (space before and after) : does not find course
      • "Présentation -" (space before) : does not find course
      • "- Moodlebox" (space after) : does not find course
      • "Présentation Moodlebox" : does find course

      If you have a course named "Présentation-Moodlebox" (without space), it find it when you search "Présentation-Moodlebox".

      Same problem on 3.3 dev, tested on qa.moodle.net.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ak4t0sh Arnaud Trouvé
              Reporter:
              fox Séverin Terrier
              Peer reviewer:
              Marina Glancy
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/May/17