Searching on charmhub.io gives result weirdly capitalized
Closed this issue · 0 comments
If you go to https://charmhub.io/ and then "Search" for "lxd" you will have multiple results and the first one should be displayed as "LXD" but is shown as "Lxd" (note the capitalization):
Going directly to https://charmhub.io/?q=lxd is an easy way to see the weird capitalization behavior.
However if you go to https://charmhub.io/lxd, you see that LXD is properly capitalized so there must be something done to search results that mangles the capitalization.
Note: initially reported to https://bugs.launchpad.net/snapstore-server/+bug/2037428 where it was triaged as being a frontend bug:
This is a web UI frontend issue, as the API correctly returns "LXD":
$ curl -s "https://api.charmhub.io/v2/charms/info/lxd?fields=result" | jq .result.title
"LXD"