graasp / graasp-builder

Web client for the Graasp Platform
https://builder.graasp.org
GNU Affero General Public License v3.0
5 stars 5 forks source link

fix: allow capital letter in search, case insensitive search #1299

Closed pyphilia closed 3 weeks ago

pyphilia commented 1 month ago

Before this PR, the search in children does not allow to write capital letters, and the check is case sensitive, so it's impossible to find "Public" for example. So I lowercase both strings on check, and allow to write capital letters (that does not change anything, but at least it reflects the user input)

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud