From dbaa956ca004c8a1f36c1b82a9f03bb3e152c077 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 7 Jan 2025 16:50:05 -0500 Subject: [PATCH] Bug 38845: OpacNoItemTypeImages required to show item type images in staff interface advanced search This patch makes it so that the noItemTypeImages system preference is the one that controls the display of item type images in the staff interface advanced search page. It was previously erroneously managed by the OpacNoItemTypeImages system preference. To test: 1. Add images to item types, if there aren't any already (KTD has them by default) 1.1. Go to Administration > Item types 1.2. Click 'Edit' next to one of the item types 1.3. Choose an icon 1.4. Click 'Save changes' 2. Disable OpacNoItemTypeImages 3. Enable noItemTypeImages (already enabled in KTD) 4. Go to the advanced search page --> The item types don't have any images next to them 5. Apply patch and refresh the page --> The item type images should be displayed Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index 9e5562ae64..c7a28baf78 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -244,7 +244,7 @@ [% END # /IF limits.$limit_key.defined %]