]> git.koha-community.org Git - koha.git/commit
Bug 25868: Fix transfers page to show effective itemtype
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 24 Jun 2020 15:05:30 +0000 (17:05 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 24 Jul 2020 21:43:21 +0000 (21:43 +0000)
commit797af6754455b9c029679e8d3c345c8a09ee9b30
tree1a245e0712d5b568dfc1bee8b6009a71c2fad085
parentca2e551a4ab5aaf5a9e9fb0b87af4519d8fb5d61
Bug 25868: Fix transfers page to show effective itemtype

In transfers page /cgi-bin/koha/circ/branchtransfers.pl :
Itemtype is always from biblioitems.itemtype, regardless of system preference item-level_itypes.

Patch also changes template to use the object Koha::Item.

Patch also fixes a small typo : closed <form> tag.

Test plan :
1) Test with both values of system preference 'item-level_itypes'
2) Go to Circulation > Transfert
3) Enter a barcode
4) Enter another barcode
5) Check you see in table all datas and that 'Item type' is correct

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e441cb35fb13670e65b9437706561c17d1311945)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
circ/branchtransfers.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt