From 4817f8ee4f7fa50a4f60d54e1827ecc91cf9ee49 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 3 Dec 2020 15:50:15 +1300 Subject: [PATCH] Bug 27137: Correctly show biblio title after successfully moving item In Bug 11529 we changed the variable that was passed to the template but missed updating the template. This patch ensures we correctly access the variable to show the title of the biblio. To test: 1) Create two biblios (Biblio A and Biblio B) 2) Add an item to Biblio A (Item A) 3) Go to Biblio B 4) In the cataloguing toolbar, click Edit, then Attach item 5) Enter the barcode for Item A and submit 6) Notice the item has successfully moved by Biblio B's title does not show 7) Apply patch 8) Go to Biblio A 9) In the cataloguing toolbar, click Edit, then Attach item 10) Enter the barcode for Item A and submit 11) Confirm Biblio A's title shows correctly Sponsored-by: Toi Ohomai Institute of Technology Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt index 9dce4fcaf3..6af5efbde8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -66,7 +66,7 @@ [% END %] -
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle | html %]. +
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% biblio.title | html %].

[% INCLUDE actions %] -- 2.39.5