From: Owen Leonard Date: Thu, 8 Aug 2013 19:37:35 +0000 (-0400) Subject: Bug 10701: fix display of transit status on the bibliographic detail page X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=0a6e9c48c5c63e17318f4c8e5c7f0400bab0c363;p=koha.git Bug 10701: fix display of transit status on the bibliographic detail page The patch for Bug 10083 incorrectly changed some template variable names so that in-transit details could not be shown on the biblio detail page. This patch corrects the error. To test, perform any action that will trigger an transfer between libraries (for instance, check in an item from Library A at Library B). View the detail page for that title and look for the transfer details in the status column of the holdings table. It should show correct information: "In transit from Athens to Nelsonville since 08/08/2013" Signed-off-by: Bernardo Gonzalez Kriegel Comment: Work as described, no errors. Before patch incorrect information: "In transit from to since" after patch correct information. Signed-off-by: Katrin Fischer Works perfectly and passes all tests. Signed-off-by: Galen Charlton --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 2c135fb8bd..1011224337 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -429,7 +429,7 @@ function verify_images() { : due [% item.datedue %] [% ELSIF ( item.transfertwhen ) %] - In transit from [% itemloo.transfertfrom %] to [% itemloo.transfertto %] since [% itemloo.transfertwhen %] + In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen %] [% END %] [% IF ( item.itemlost ) %]