]> git.koha-community.org Git - koha.git/commit
Bug 17657: Fix locations of item types images
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Nov 2016 08:23:16 +0000 (08:23 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Nov 2016 14:06:33 +0000 (14:06 +0000)
commit66bb0a2e3323f17d19a803297d1b9667f9392a4d
tree5675b34982eab888845db70220f61b088c73df02
parentf67adfcb11e0465cb2016663e0df7038e5d2c811
Bug 17657: Fix locations of item types images

Koha::ItemType->image_location takes the interface in parameter or
default to OPAC.
From the item types admin page, we need to specify the intranet
interface to retrieve the correct image's url

Test plan:
Go on the item types admin page, see the source of the page and find the
image' urls.
=> Without this patch, they point to the OPAC
=> With this patch, the location is correct

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt