-
Notifications
You must be signed in to change notification settings - Fork 85
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
OP-1200 wards inventory #2126
base: develop
Are you sure you want to change the base?
OP-1200 wards inventory #2126
Conversation
src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java
Outdated
Show resolved
Hide resolved
src/main/java/org/isf/medicalinventory/gui/InventoryWardBrowser.java
Outdated
Show resolved
Hide resolved
pagesCombo.addItem(j + 1); | ||
under.setText("/" + (total_rows / PAGE_SIZE + 1 + " " + MessageBundle.getMessage("angal.inventory.pages.text"))); | ||
} else { | ||
under.setText("/" + total_rows / PAGE_SIZE + " " + MessageBundle.getMessage("angal.inventory.pages.text")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't there a formatted msg in the bundle that can by used instead of concatenation?
in addition I'm not sure how the PAGE_SIZE + 1
will come out; does addition have a higher precedence than concatenation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not in this PR, but in #2125. We can add it in both and then resolve conflicts, or first merge the latter...
See OP-1200.
Changes in core should be fine.