[Koha-bugs] [Bug 4255] Add item type to facet list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 15 16:42:58 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4255

--- Comment #5 from Ian Walls <koha.sekjal at gmail.com> ---
Created attachment 10296
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10296&action=edit
[PASSED QA] Bug 4255 - Add item type to facet list

This is for MARC 21 only.

Made following changed:

- In getFacets in C4/Koha.pm added item type facet for 952y and 942c
- In getRecords in C4:Search.pm added code to get description of itemtype codes
- facets.inc in both staff and opac to show item types related label in the
facets block

To test:

Add records such that a certain itype (say BK) is present in both 942c and 952y
in two DIFFERENT records.

Run a search where both test records are present. Test to see if itype types
are presented in the facets block (both OPAC and staff).

Click on the itype (say BK), both the test records should appear in the refined
results. This shows that the feature works for both 942c and 952y.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: Ian Walls <koha.sekjal at gmail.com>

QA Comment: fixed capitalization in template includes according to HTML4 coding
guideline ("Item types" instead of "ItemTypes")

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list