Bug 32194 - "Can be guarantee" value should show uppercase "No"
Summary: "Can be guarantee" value should show uppercase "No"
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: David Nind
QA Contact: Katrin Fischer
URL:
Keywords: Academy
Depends on: 12446
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-14 16:18 UTC by Andrew Fuerste-Henry
Modified: 2024-07-04 20:37 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This fixes the display of the patron categories "Can be guarantee" column so that "No" values have a capital "N". Previously, "no" values were shown with a lowercase "n".
Version(s) released in:
23.05.00,22.11.01
Circulation function:


Attachments
Bug 32194: Capitalize "No" values for the patron categories "Can be guarantee" column (1.60 KB, patch)
2022-11-14 21:39 UTC, David Nind
Details | Diff | Splinter Review
Bug 32194: Capitalize "No" values for the patron categories "Can be guarantee" column (1.66 KB, patch)
2022-11-14 21:50 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2022-11-14 16:18:42 UTC
On the patron categories page, there's a column for "can be guaranteee," that shows a yes or no value. Except it shows "Yes" with a capital "Y" and "no" with a lowercase "n." Per our general style guidelines, that "no" should be capitalized.
Comment 1 David Nind 2022-11-14 21:39:45 UTC
Created attachment 143875 [details] [review]
Bug 32194: Capitalize "No" values for the patron categories "Can be guarantee" column

This fixes the display of the patron categories "Can be guarantee"
column so that "No" values have a capital "N".

Test plan:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Note that for the "Can be guarantee" column, it shows "Yes" values
   with a capital "Y" and "no" values with a lowercase "n".
3. Apply the patch.
4. Refresh the page.
5. Note that any "No" values now have a capital "N".
6. Sign off D:

Signed-off-by: David Nind <david@davidnind.com>
Comment 2 Katrin Fischer 2022-11-14 21:50:15 UTC
Created attachment 143878 [details] [review]
Bug 32194: Capitalize "No" values for the patron categories "Can be guarantee" column

This fixes the display of the patron categories "Can be guarantee"
column so that "No" values have a capital "N".

Test plan:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Note that for the "Can be guarantee" column, it shows "Yes" values
   with a capital "Y" and "no" values with a lowercase "n".
3. Apply the patch.
4. Refresh the page.
5. Note that any "No" values now have a capital "N".
6. Sign off D:

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 3 Katrin Fischer 2022-11-14 21:51:00 UTC
Might have to wait because of string freeze.
Comment 4 David Nind 2022-11-14 23:24:08 UTC
This relates to a new feature added to 22.11 in Bug 12446 - Enable an adult to have a guarantor, so only affects master.
Comment 5 Katrin Fischer 2022-12-07 21:33:03 UTC
I had missed to set this to PQA, but also checked it again now :)
Comment 6 Tomás Cohen Arazi (tcohen) 2022-12-13 12:48:21 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 7 Martin Renvoize (ashimema) 2022-12-15 13:48:45 UTC
Nice work everyone!

Pushed to 22.11.x for the next release