]> git.koha-community.org Git - koha.git/commit
Bug 28321: Use template block for display of items in search results
authorOwen Leonard <oleonard@myacpl.org>
Fri, 30 Apr 2021 10:36:42 +0000 (10:36 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Oct 2021 08:58:13 +0000 (10:58 +0200)
commit3657a6fca1dc48f1f6b5f4b34692de9e10fdc460
treef840529e3fba0947e7046d4518db4c285aa184b5
parentba19c4fd9b4d383bcaca153dfd2749376871758a
Bug 28321: Use template block for display of items in search results

This patch updates the staff interface catalog search results to use
a new reusable BLOCK for displaying item information: Available items,
checked-out items, and unavailable items.

Some style has been updated, and an old GIF image has been replaced with
an SVG. The hold ratios template has been updated to accommodate this
change.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Perform a catalog search in the staff interface which will return
  multiple results with multiple items each. For thorough testing, some
  records should have items which are checked out, available, or
  lost/notforloan.
- On the search results page, confirm that item information is accurate
  and readable.
- Test with  item-level_itypes on and off.
- Test with noItemTypeImages on and off.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt
koha-tmpl/intranet-tmpl/prog/img/item-bullet.gif [deleted file]
koha-tmpl/intranet-tmpl/prog/img/item-bullet.svg [new file with mode: 0644]