Bug 27137: Correctly show biblio title after successfully moving item
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 3 Dec 2020 02:50:15 +0000 (15:50 +1300)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 13 Jan 2021 22:14:47 +0000 (22:14 +0000)
commit4817f8ee4f7fa50a4f60d54e1827ecc91cf9ee49
tree39241d48b31d00c47de35d95f4274b0fc1ac5e4f
parentce66091a97280a54dfa82a0124769b586c2785d5
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 <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt