Make group picker case insensitive for /rest/api/3/groups/picker

XMLWordPrintable

    • 0
    • 3

      Summary

      When using /rest/api/3/groups/picker it would be great if queries are treated case insensitive

      Background

      Vendor raised feature request in DEVHELP with the following use case and notes:

      "query~admin" or "query~Admin" doesn't work at all. It is just ignored.

      I discovered another thing, though. I have a group "site-admins".
      When I search with rest/api/3/groups/picker?query=Site-Admins it returns this group.
      When I search with rest/api/3/groups/picker?query=site-admins it returns this group.
      When I search with rest/api/3/groups/picker?query=site-adm it returns this group.
      When I search with rest/api/3/groups/picker?query=Site-Adm it returns nothing.
      So the search seems to be case insensitive only when I provide the full name of a group.

      A use case:
      We have a filter option in our apps to search groups. When searching for a group in the input, the search is case sensitive. So if a user has a group named: "Developers", he can't find them by inserting e.g. "deve".

        1. az-100 Exam Questions.pdf
          379 kB
        2. az-101 Exam Questions.pdf
          245 kB
        3. az-102 Exam Questions.pdf
          402 kB
        4. az-202 Exam Questions.pdf
          529 kB
        5. az-203 Exam Questions.pdf
          461 kB
        6. az-400 Exam Questions.pdf
          392 kB
        7. az-900 Exam Questions.pdf
          309 kB
        8. cas-003 Exam Questions.pdf
          422 kB
        9. cau201 Exam Questions.pdf
          175 kB
        10. dca Exam Questions.pdf
          177 kB

            Assignee:
            Unassigned
            Reporter:
            Anne Calantog
            Votes:
            27 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: