Koha/opac
Meenakshi.R 8bd8aba577 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@bywatersolutions.com>

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

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

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-06-20 22:27:21 +02:00
..
errors
rss
sco
svc
changelanguage.pl
ilsdi.pl
maintenance.pl
oai.pl
opac-account.pl
opac-addbybiblionumber.pl
opac-alert-subscribe.pl
opac-authorities-home.pl
opac-authoritiesdetail.pl
opac-basket.pl
opac-browser.pl
opac-changelanguage.pl
opac-detail.pl
opac-downloadcart.pl
opac-downloadshelf.pl
opac-export.pl
opac-ics.pl
opac-image.pl
opac-imageviewer.pl
opac-ISBDdetail.pl
opac-main.pl
opac-MARCdetail.pl
opac-messaging.pl
opac-modrequest-suspend.pl
opac-modrequest.pl
opac-mymessages.pl
opac-passwd.pl
opac-patron-image.pl
opac-privacy.pl
opac-ratings-ajax.pl
opac-ratings.pl
opac-readingrecord.pl
opac-renew.pl
opac-reserve.pl
opac-review.pl
opac-search-history.pl
opac-search.pl
opac-sendbasket.pl
opac-sendshelf.pl
opac-serial-issues.pl
opac-shelves.pl
opac-showmarc.pl
opac-showreviews.pl
opac-suggestions.pl
opac-tags.pl
opac-tags_subject.pl
opac-topissues.pl
opac-user.pl
opac-userdetails.pl
opac-userupdate.pl
unapi