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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.5, 3.2, 3.3
    • 3.1.6, 3.2.3
    • Course

    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

              ak4t0sh Arnaud Trouvé
              fox Séverin Terrier
              Marina Glancy Marina Glancy
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/May/17