https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32908 Bug ID: 32908 Summary: Item type icons broken in the bibliographic record details page Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: gveranis@dataly.gr QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 146386 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146386&action=edit Staff_Interface-Bibliographic_record_details-Item_type_icon_BROKEN 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 and is still broken [*] in the current master (539efac9aa), as the <img> tag for the item type icon points to a path that begins with: /opac-tmpl/bootstrap/itemtypeimg instead of the correct path that begins with: /intranet-tmpl/prog/img/itemtypeimg So, instead of fetching the corresponding item type icon you get a 404 in your web server logs and the default 'broken image URL' image in your web browser. I will attach a couple of screenshots to demonstrate the problem. `git bisect` tells me that the relevant commit is b686bd65e19a6688ebda109a156ea31576559e4f from Bug 31321. [*] Please note: the bug outlined above occurs on Debian package installations. Koha instances created using koha-testing-docker or the Koha Sandboxes seem to be unaffected. I believe this has to do with the values of the <intrahtdocs> and <opachtdocs> settings in koha-conf.xml, and the fact that Gitified instances served by Apache use the same DocumentRoot path in their VirtualHost directives for both the OPAC and the Staff interface. However, when trying to reproduce this bug on Koha instances created with methods other than a Debian package install, you can still observe that the item type icon URL is wrong by right-clicking on the icon and selecting 'Inspect' to see its properties. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.