Bug 27996

Summary: Format of "Due date" on Circulation > Overdues page
Product: Koha Reporter: Séverine Queune <severine.queune>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: trivial    
Priority: P5 - low CC: arthur.suzuki, david, gmcharlt, jonathan.druart, kyle.m.hall, lucas, tomascohen, victor
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This highlights the due date for an overdue item in red on the Circulation > Overdues page. (This is consistent with how an overdue date is displayed in other areas of the staff interface, such as on a patron's list of checkouts.)
Version(s) released in:
22.11.00, 22.05.04, 21.11.11
Bug Depends on:    
Bug Blocks: 31167    
Attachments: Bug: 27996: Updates the Circulation report overdues page to display date in red.
Bug: 27996: Updates the Circulation report overdues page to display date in red.
Bug: 27996: Updates the Circulation report overdues page to display date in red.
Bug: 27996: Updates the Circulation report overdues page to display date in red.

Description Séverine Queune 2021-03-19 11:40:59 UTC
The circ/overdues.pl allows to display checkouts that are not overdues using the devoted checkbox.
To be clearer for the user, the date of the overdues on the page result should be bold ang red like it is on the patron account for exemple.
Comment 1 Koha Training Catalyst 2022-07-07 23:49:29 UTC
Created attachment 137352 [details] [review]
Bug: 27996: Updates the Circulation report overdues page to display date in red.

Test:
1. Login to the staff interface
2. First you need to create an overdue item.
  a. Find the barcode for an item
  b. Goto My checkouts from the drop down by your login
  c. Enter the barcode and use checkout settings to select a date in the
  past.
2. Go to Tools
3. Go to Circulation
4. Go to Go to Overdues
5. In the table the due date is in black
6. Apply the patch
7. Refresh the page and the due date should be in red.
Comment 2 Chris Cormack 2022-07-07 23:56:29 UTC
Created attachment 137353 [details] [review]
Bug: 27996: Updates the Circulation report overdues page to display date in red.

Test:
1. Login to the staff interface
2. First you need to create an overdue item.
  a. Find the barcode for an item
  b. Goto My checkouts from the drop down by your login
  c. Enter the barcode and use checkout settings to select a date in the
  past.
2. Go to Tools
3. Go to Circulation
4. Go to Go to Overdues
5. In the table the due date is in black
6. Apply the patch
7. Refresh the page and the due date should be in red.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Works well, needs independent sign off
Comment 3 David Nind 2022-07-08 05:14:34 UTC
Created attachment 137357 [details] [review]
Bug: 27996: Updates the Circulation report overdues page to display date in red.

Test:
1. Login to the staff interface
2. First you need to create an overdue item.
  a. Find the barcode for an item
  b. Goto My checkouts from the drop down by your login
  c. Enter the barcode and use checkout settings to select a date in the
  past.
2. Go to Tools
3. Go to Circulation
4. Go to Go to Overdues
5. In the table the due date is in black
6. Apply the patch
7. Refresh the page and the due date should be in red.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 Katrin Fischer 2022-07-08 08:40:44 UTC
Created attachment 137384 [details] [review]
Bug: 27996: Updates the Circulation report overdues page to display date in red.

Test:
1. Login to the staff interface
2. First you need to create an overdue item.
  a. Find the barcode for an item
  b. Goto My checkouts from the drop down by your login
  c. Enter the barcode and use checkout settings to select a date in the
  past.
2. Go to Tools
3. Go to Circulation
4. Go to Go to Overdues
5. In the table the due date is in black
6. Apply the patch
7. Refresh the page and the due date should be in red.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

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

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Comment 5 Katrin Fischer 2022-07-08 08:41:19 UTC
Thank you for the patch, Karen!
Comment 6 Tomás Cohen Arazi 2022-07-08 18:35:11 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!
Comment 7 Lucas Gass 2022-08-12 16:46:33 UTC
Backported to 22.05.x for 22.05.04
Comment 8 Arthur Suzuki 2022-08-16 12:52:32 UTC
in 21.11.x for 21.11.11
Comment 9 Victor Grousset/tuxayo 2022-08-19 22:57:28 UTC
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed.

Nothing to document, marking resolved.