Bugzilla – Attachment 32559 Details for
Bug 13122
Patron holds table no longer display date item went in transit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13122 - Patron holds table no longer display date item went in transit
Bug-13122---Patron-holds-table-no-longer-display-d.patch (text/plain), 2.47 KB, created by
Kyle M Hall
on 2014-10-21 17:29:02 UTC
(
hide
)
Description:
Bug 13122 - Patron holds table no longer display date item went in transit
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2014-10-21 17:29:02 UTC
Size:
2.47 KB
patch
obsolete
>From 76d33c3984d113cab95d7e9ab07eeedcb20c8622 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 21 Oct 2014 04:44:24 -0400 >Subject: [PATCH] Bug 13122 - Patron holds table no longer display date item went in transit > >In Koha 3.14 and earlier, an item on hold and in transit would display >the date the item was transferred. This is missing from the new ajax >holds table. > >Test Plan: >1) Place an item on hold for delivery at a different library >2) Check the item in, confirm the hold and transfer >3) View the patron's holds tab on circulation.pl and/or moremember.pl >4) Note the item is show as in transit, but does not give the "since" > date >5) Apply this patch >6) Note the in transit status now has a "since <date>" >--- > .../intranet-tmpl/prog/en/includes/strings.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/js/holds.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >index fd6ee49..f7ad35f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >@@ -21,7 +21,7 @@ > var UNTIL = _("until %s"); > var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>"); // > var AT = _("at %s"); >- var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s"); >+ var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s since %s"); > var FROM = _("from"); > var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from %s"); > var NO = _("No"); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js >index 73807ea..5f34f00 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/holds.js >@@ -64,7 +64,7 @@ $(document).ready(function() { > data += " " + AT.format( oObj.waiting_at ); > } > } else if ( oObj.transferred ) { >- data += ITEM_IS_IN_TRANSIT.format( oObj.from_branch ); >+ data += ITEM_IS_IN_TRANSIT.format( oObj.from_branch, oObj.date_sent ); > } else if ( oObj.not_transferred ) { > data += NOT_TRANSFERRED_YET.format( oObj.not_transferred_by ); > } >-- >1.7.2.5
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 13122
:
32559
|
32587
|
32740