From 1799c35c0edbd084d310fee7660502c614e91caf Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 11 Oct 2019 14:18:58 +0100 Subject: [PATCH] Bug 23804: Correctly catch remote itemtype images Bug 20216 missed the mark and although it did start display a URL for the itemtype image in use, it was not limited to remote urls and as such broke the checked handling for displaying which local image was selected. Test plan: 1) Select a local image for an itemtype. 2) Check the correct image is displayed in the admin table. 3) Edit the itemtype checking that the correct image is checked. 4) Change to a remote image for the itemtype 5) Check the correct image is displayed in the admin table. 6) Edit the itemtype again and check that the URL still displays and is checked in the 'Remote image' tab. 7) Signoff --- .../intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index 2330e84779..df636f2405 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -195,15 +195,17 @@ Item types administration
-- 2.20.1