[Koha-bugs] [Bug 7960] Choice to not show the text labels for item types

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jul 16 03:37:42 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7960

--- Comment #23 from David Nind <david at davidnind.com> ---
I've tested, but haven't signed off.

Notes from testing (using koha-testing-docker):

1. Some icons only display for some pages if the item-level_itypes system
preference is set to bibliographic record.

2. May also need to set the noItemTypeImages (for staff interface) or
OpacNoItemTypeImages system preferences to 'Show'.

3. For the staff interface and with the CSS to hide the text description:
   . catalogue/detail.tt: see note for staff interface and catalogue/detail.tt
- can't hide text description for 'Itemtype' shown on the details page before
the holdings tab

4. For the OPAC, I'm not sure how to test opac-results-grouped.tt: there is no
opac-results-grouped.tt file, item type icon and text show for normal OPAC
search results when OPACnoItemTypeImages system preference is set to 'Show',
with OPAC CSS to hide no text description is shown in search results (but icon
is).

5. How to access pages to test, along with some notes: 

= STAFF INTERFACE =
 - catalogue/advsearch.tt (Home page > Advanced search)
 - catalogue/detail.tt (view the details page for a record with items - note: 
   . if item-level_itypes = specific item and noItemTypeImages set to 'Don't
show' ==> text only descriptions shown for both
   . if item-level_itypes = specific item and noItemTypeImages set to 'Show'
==> icons and text description shown for both
   . if item-level_itypes = bibliographic record and noItemTypeImages set to
'Show' ==> icons and text description only shown for the record, the Item types
column under the holdings tab is not shown
    . if item-level_itypes = bibliographic record and noItemTypeImages set to
'Don't show' ==> text description only for the record,  the Item types column
under the holdings tab is not shown
 - catalogue/results.tt (set noItemTypeImages system preference to 'Show',
search in the staff interface)
 - reserve/request.tt (place a hold for a record, select a patron, item type
column displayed for specific items) 
 - virtualshelves/shelves.tt (set noItemTypeImages to 'Show', set
item-level_itypes to bibliographic record: create and add items to a public
list, Lists > select the list)

= OPAC =
 - opac-advsearch.tt (advanced search page)
 - opac-detail.tt (view the details page for a record with items)
 - opac-readingrecord.tt (check out some items for a patron, go to Your account
> your checkout history for that patron)
 - opac-reserve.tt (place a hold for a record, select 'a specific item', table
lists the item type)
 - opac-results-grouped.tt (not sure how to test this on, no longer an
opac-results-grouped.tt file; item type icon and text show on normal OPAC
search results when OPACnoItemTypeImages system preference set to 'Show')
 - opac-shelves.tt (set OPACnoItemTypeImages to 'Show', set item-level_itypes
to bibliographic record: add items to a list, view list More > Lists > select
the list)
 - opac-user.tt (set OPACnoItemTypeImages to 'Show', set item-level_itypes to
bibliographic record: check some items to a patron, go to Your account >
summary for the patron)

6. Personally, I think enhancing the existing system preferences
item-level_itypes, noItemTypeImages and OpacNoItemTypeImages would be a better
way to go. But having some way to do it is better than no way...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list