]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 10:44:54 +0000 (12:44 +0200)
commite441cb35fb13670e65b9437706561c17d1311945
treeb729f4c7b4c9d0fe680f05e42aabe8e55f597c30
parentf77a377c939080eed36401746b5d722c91ee964b
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>
circ/branchtransfers.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt