Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalize filter is used needlessly #304

Open
limmabean opened this issue May 19, 2020 · 0 comments
Open

Capitalize filter is used needlessly #304

limmabean opened this issue May 19, 2020 · 0 comments
Labels

Comments

@limmabean
Copy link

In various places on the frontend, strings are passed through a capitalize filter. This result things in things like

"smsgh": "SMS GH",
"Smsgh": "SMS GH",
In our translation dictionaries. I suspect these filters can be removed in some places and placed after the translation filter in others.

For example, the dropdown filters in reports capitalize the selectable fields as seen below.
SourceCapitalized2
However, the source should not be capitalized as the source itself is lowercase as seen below.
SourceNotCapitalized2

@limmabean limmabean added the bug label May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant