From the ML https://lists.katipo.co.nz/pipermail/koha/2016-November/046616.html > When trying to configure an icon for an item type, the chosen icon won't > show in the Koha menu "Administration > Item types". I used to see the > icon in the first column entitled "Image" - now this column is empty. > Also the icon won't show in staff interface or OPAC.
Created attachment 57617 [details] [review] 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
This is caused by bug 14828.
Created attachment 57618 [details] [review] [SIGNED-OFF] 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>
Created attachment 57645 [details] [review] 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>
Created attachment 57646 [details] [review] 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>
Pushed to master for 16.11, thanks Jonathan!
Pushed to 16.05.x, for 16.05.06 release