Koha/koha-tmpl/intranet-tmpl/prog/en/modules
George Veranis bc9a37534f
Bug 32908: Load item type icons from the correct path
In the Staff interface, the details page of a bibliographic
record should display the icon associated with the item
type of an item ('Item type' column in the 'Holdings' tab).

This feature broke in v22.11.00 (for Debian package installs):
instead of the item type icon you get the default 'broken
image URL' image of your web browser.

This patch fixes that.

Test plan:

1) (if needed) Configure the following System preferences:
   - item-level_itypes => 'specific item'
   - noItemTypeImages  => 'Show'

2) (if needed) In Koha Administration > Item types, create
   an item type and associate it with an icon

3) (if needed) Create a test bibliographic record, and add
   an item to it that has an item type with an icon

4) Visit the bibliographic record's details page in the
   Staff interface. Notice that in the 'Item type' column of
   the 'Holdings' tab instead of seeing the icon associated
   with the item type of each item you get the default
   'broken image URL' image of your web browser [*].

   [*] In non-Debian package installs, the 'href' property
       of the item type icon's <img> tag should start with
       '/opac-tmpl/bootstrap/itemtypeimg'

5) Apply this patch, and refresh the page with CTRL-F5.
   The item type icon should now be displayed correctly.

   [*] KTD and Koha Sandboxes users: To verify the patch
       has worked, you should right-click on the item type
       icon and click 'Inspect: the 'href' property of the
       <img> tag should now start with:
       '/intranet-tmpl/prog/img/itemtypeimg'

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-15 09:23:28 -03:00
..
acqui Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
admin Bug 31957: (follow-up) Further improve translations 2023-02-15 09:09:11 -03:00
authorities Bug 29173: (QA follow-up) Match pop-over sizes 2023-02-09 10:21:23 -03:00
basket Bug 16522: (follow-up) Remove HTML links from email 2023-01-30 12:10:12 -03:00
batch
catalogue Bug 32908: Load item type icons from the correct path 2023-02-15 09:23:28 -03:00
cataloguing Bug 32567: (QA follow-up) Fix some labelling inconsistencies 2023-02-07 15:30:32 -03:00
circ Bug 32788: Order curbside pickup slots chronologically 2023-02-07 15:31:40 -03:00
clubs
course_reserves Bug 20256: Use new methods 2023-02-02 11:59:26 -03:00
erm
errors
ill Bug 32290: Fix terminology on ILL requests page 2023-02-07 10:29:51 -03:00
installer
labels
mana
members Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
offline_circ
onboarding
patron_lists
patroncards
plugins Bug 32644: Terminology: staff/intranet and biblio in plugins-home page 2023-01-31 09:39:07 -03:00
pos Bug 32409: Fix cashup searching with non latin-1 chars 2023-02-02 11:59:26 -03:00
recalls Bug 32688: Convert recalls awaiting pickup tabs to Bootstrap 2023-01-30 12:21:34 -03:00
reports Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
reserve
reviews
rotating_collections
serials Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
services
suggestion Bug 32603: Suggester category in Suggestions management 2023-02-07 15:30:33 -03:00
tags Bug 31768: Add tools toolbar to tags page 2023-02-07 10:31:12 -03:00
test
tools Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
virtualshelves Bug 16522: (follow-up) Remove HTML links from email 2023-01-30 12:10:12 -03:00
about.tt Bug 32609: Add warning to the about page 2023-02-10 11:07:54 -03:00
auth.tt
intranet-main.tt Bug 26628: Fix access to clubs when user only has clubs permission 2023-01-31 10:50:52 -03:00