Go to file
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
C4 Bug 30642: Make renewal_type an enum in spec and add test 2023-02-10 11:08:00 -03:00
Koha Bug 30642: (follow-up) Change sql and adapt for translations 2023-02-10 11:07:58 -03:00
acqui Bug 32377: Set param skiptotals on call of GetBudgetHierarchy in acqui/histsearch.pl 2023-01-31 11:02:21 -03:00
admin Bug 22693: ILL "Price paid" column does not appear in column configuration 2023-02-15 09:23:05 -03:00
api Bug 30642: Make renewal_type an enum in spec and add test 2023-02-10 11:08:00 -03:00
authorities Bug 30250: Use ApplyFrameworkDefaults when importing a record 2022-11-09 14:03:22 -03:00
basket Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-30 12:10:11 -03:00
bin
…
catalogue Bug 20256: Use new methods 2023-02-02 11:59:26 -03:00
cataloguing Bug 29173: Fixed pre-filling of the search form from the "Replace record with ZR39.50/SRU" (Authority page detail) 2023-02-09 10:21:22 -03:00
circ Bug 31095: Remove GetDebarments from circ/circulation.pl 2023-01-31 10:19:24 -03:00
clubs
…
course_reserves Bug 20256: Use new methods 2023-02-02 11:59:26 -03:00
debian Bug 32612: (QA follow-up) Remove worker.log 2023-02-03 10:30:05 -03:00
docs 22.11.00: Update history.txt 2022-11-25 15:20:02 -03:00
erm Bug 32030: Add missing sponsors 2022-11-09 12:25:44 -03:00
errors
…
etc Bug 32612: (QA follow-up) Remove superfluous line 2023-02-03 10:30:03 -03:00
ill
…
installer Bug 30642: Fix dbrev permissions 2023-02-14 09:41:47 -03:00
koha-tmpl Bug 32908: Load item type icons from the correct path 2023-02-15 09:23:28 -03:00
labels Bug 31633: (follow-up) Group template params 2022-10-03 14:09:59 -03:00
lib/CGI/Session/Serialize
…
members Bug 31095: Remove GetDebarments from members/memberentry.pl 2023-01-31 10:19:36 -03:00
misc Bug 30642: (QA follow-up) Do not rely on script names in modules, add unit test 2023-02-10 11:07:59 -03:00
offline_circ Bug 30016: Remove GetOpenIssue subroutine 2022-08-31 08:50:37 -03:00
opac Bug 31699: (follow-up) Protect more against open redirects 2023-02-09 10:21:31 -03:00
patron_lists
…
patroncards
…
plugins
…
pos Bug 30619: Add email receipt to POS 2022-09-07 15:59:34 -07:00
recalls
…
reports Bug 32588: Make filters on 'items with no checkouts' report translatable 2023-01-31 10:59:33 -03:00
reserve Bug 32909: Load item type icons from the correct path 2023-02-15 09:21:20 -03:00
reviews
…
rotating_collections
…
serials Bug 29608: Made so doesn't require full permission 2022-09-07 13:49:53 -07:00
services
…
skel
…
suggestion Bug 32531: Restore behaviour of 'include archived' filter 2023-01-05 09:22:58 -03:00
svc Bug 15869: Change framework on overlay 2023-02-07 10:32:22 -03:00
t Bug 30642: Make renewal_type an enum in spec and add test 2023-02-10 11:08:00 -03:00
tags
…
tmp/modified_authorities
…
tools Bug 15869: (QA follow-up) Don't pass placeholder framework '_USE_ORIG' 2023-02-07 10:32:23 -03:00
virtualshelves Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-30 12:10:11 -03:00
xt Bug 32741: Regression tests 2023-02-02 11:59:26 -03:00
.editorconfig
…
.eslintrc.json
…
.gitignore Bug 32609: Add compiled css files to gitignore 2023-02-10 11:07:52 -03:00
.htaccess
…
.mailmap Bug 32582: Fix error in .mailmap 2023-01-17 09:27:15 +00:00
.perlcriticrc
…
.proverc.dist
…
.stylelintrc.json Bug 31528: (follow-up) A few additional rules 2022-10-03 08:23:15 -03:00
INSTALL
…
Koha.pm Bug 30642: DBRev 22.12.00.004 2023-02-10 12:47:15 -03:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 32609: (follow-up) enhance Makefile.PL 2023-02-10 11:07:56 -03:00
README
…
README.md
…
README.robots
…
about.pl Bug 30808: Add support for version codenames 2022-11-25 15:20:00 -03:00
app.psgi
…
build-resources.PL Bug 32609: Use the current yarn.lock to generate node_modules 2023-02-10 11:07:57 -03:00
changelanguage.pl
…
cpanfile Bug 32673: Remove misc/load_testing/ scripts 2023-02-03 10:30:07 -03:00
cypress.json Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
fix-perl-path.PL
…
gulpfile.js Bug 32609: Improve yarn build commands 2023-02-10 11:07:51 -03:00
help.pl
…
koha_perl_deps.pl
…
kohaversion.pl
…
mainpage.pl
…
package.json Bug 32609: Improve yarn build commands 2023-02-10 11:07:51 -03:00
rewrite-config.PL
…
tsconfig.json Bug 32030: Move cypress to t - fix build_js/watch_js 2022-11-08 09:44:52 -03:00
webpack.config.js Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
yarn.lock Bug 32212: Updated yarn.lock 2022-11-18 12:04:29 -03:00

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo