Bug 31871

Summary: Due date not shown on items tab
Product: Koha Reporter: Stefan Berndtsson <stefan.berndtsson>
Component: Architecture, internals, and plumbingAssignee: Stefan Berndtsson <stefan.berndtsson>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: trivial    
Priority: P5 - low CC: david, lucas, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00
Attachments: Bug 31871: Date due not shown on items tab
Bug 31871: Date due not shown on items tab
Bug 31871: Date due not shown on items tab

Description Stefan Berndtsson 2022-10-19 12:48:25 UTC
Bug 31315 missed one change from ITEM_DAT to checkout in moredetail.tt

This trivial patch fixes that.
Comment 1 Stefan Berndtsson 2022-10-19 12:49:54 UTC
Created attachment 142153 [details] [review]
Bug 31871: Date due not shown on items tab

Changed ITEM_DAT to checkout in moredetail.tt
Comment 2 David Nind 2022-10-19 19:46:47 UTC
Created attachment 142207 [details] [review]
Bug 31871: Date due not shown on items tab

Changed ITEM_DAT to checkout in moredetail.tt

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2022-10-19 19:48:44 UTC
Testing notes (using koha-testing-docker):

1. Check out an item to a patron.
2. Go to the details page for the record and select the items section.
3. Under statuses, for 'Checkout status' there is no date after 'Due back on' 
   (for example: Checkout status: Checked out to Mary Burton (23529000651225) Due back on  ).
4. Apply the patch.
5. Refresh the page - the due date is now displayed.
Comment 4 Marcel de Rooy 2022-10-21 07:07:28 UTC
Created attachment 142295 [details] [review]
Bug 31871: Date due not shown on items tab

Changed ITEM_DAT to checkout in moredetail.tt

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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 5 Tomás Cohen Arazi 2022-10-24 14:56:08 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!