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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 21 Jan 2021 23:13:27 +0000 (00:13 +0100)
commit7a9b5605dba571bd9de506f605bbadd38db0cef4
tree42b3b912beef9562ec13f3a60ef86659763edb39
parentfdc4853201577aced517d794ee5554ff6041958d
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>
(cherry picked from commit 4817f8ee4f7fa50a4f60d54e1827ecc91cf9ee49)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt