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

Improve the appearance of boolean search filter flags #5859

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

jmcameron
Copy link
Collaborator

Implements an improvement in the presentation of the boolean search flags in various registries to make them more user-friendly. The boolean flags now show "Yes"/"Oui" for 1 and "No"/"Non" for 0.

Closes #5803

For example, notice the circled flags in the stock lots registry:
image

To make a filter definition work this way, add this to its definition:

..., valueFilter : 'boolean'.

This change affects the search flag displays for the following registries.

  • Stock > Stock lots
  • Stock > Articles in Stock
  • Administration > Account References
  • Finance > Cash payment registry
  • Finance > Patient Invoice registry
  • Finance > Voucher registry
  • Human Resources > Employee registry
  • Inventory > Inventory registry

I attempted to update as many of these boolean filter flags as possible, but I'm sure I missed some.

@mbayopanda
Copy link
Contributor

LGTM 👍🏽

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 24, 2021

Build succeeded:

@bors bors bot merged commit c5b8073 into IMA-WorldHealth:master Aug 24, 2021
@jmcameron jmcameron deleted the fix_search_flag_tags branch August 24, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate boolean values in filter bar
3 participants