Bugzilla – Attachment 182185 Details for
Bug 39555
Clarify "On loan" column on "transfers to send" page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39555: Relabel "On Loan" in Transfers to Send
Bug-39555-Relabel-On-Loan-in-Transfers-to-Send.patch (text/plain), 3.20 KB, created by
Martin Renvoize (ashimema)
on 2025-05-09 14:30:16 UTC
(
hide
)
Description:
Bug 39555: Relabel "On Loan" in Transfers to Send
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-05-09 14:30:16 UTC
Size:
3.20 KB
patch
obsolete
>From 036bb61874e4151b3c61ee07fe07a5b29de93fe7 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Fri, 4 Apr 2025 19:27:29 +0000 >Subject: [PATCH] Bug 39555: Relabel "On Loan" in Transfers to Send > >This test plan edits database values rather than getting these transfers requested via StockRotation. I don't believe that impacts the validity of the testing. > >To test: >1 - enable StockRotation syspref (otherwise the Transfers to Show page doesn't show up) >2 - go to /cgi-bin/koha/circ/branchtransfers.pl and transfer an item >3 - log into the database and "update branchtransfers set datesent=NULL where branchtransfer_id=[your transfer]" >4 - go to /cgi-bin/koha/circ/transfers_to_send.pl >5 - confirm there is a column named "On shelf" and your transfer shows the value "On shelf" in that column >6 - back in the database, "update items set onloan=curdate() where itemnumber=[your item]" >7 - reload Transers to Send, confirm it now shows "Due [today]" for your item in the On Loan column >8 - apply patch >9 - reload Transfers to Send, confirm column is now titled "Date due" and the value for your item is still the due date >10 - back in the database, "update items set onloan=NULL where itemnumber=[your item]" >11 - reload Transfers to Send, confirm your item now shows a value of "Not checked out" > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > .../intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt >index a3be73a1e34..2718e62e3da 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt >@@ -50,7 +50,7 @@ > <th>Date of request</th> > <th class="anti-the">Title</th> > <th>Reason</th> >- <th>On loan</th> >+ <th>Date due</th> > <th>Home library</th> > <th>Call number</th> > <th class="no-sort">Actions</th> >@@ -67,7 +67,7 @@ > <br />Barcode: [% transfer.item.barcode | html %] > </td> > <td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td> >- <td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td> >+ <td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]Not checked out[% END %]</td> > <td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td> > <td>[% transfer.item.itemcallnumber | html %]</td> > <td class="actions"> >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39555
:
180675
|
180889
| 182185