]> git.koha-community.org Git - koha.git/commit
bug 5825: (follow-up) consult item-level_itypes
authorGalen Charlton <gmc@esilibrary.com>
Fri, 16 Aug 2013 15:36:10 +0000 (15:36 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 16 Aug 2013 15:36:10 +0000 (15:36 +0000)
commit484b7ec7320b73519def7ef25487c942d93f5059
treec710fff759972811ea5f5a33766e0bc664bc1821
parent572d46e6395123293c1b5c86055a527ab5c647da
bug 5825: (follow-up) consult item-level_itypes

This patch teaches GetHoldsQueueItems to consult
the item-level_itypes system preference and return
the item-level or bib-level item type accordingly.

To test:

- Arrange so that an item that shows up on the holds queue
  report has one item type while its bib has a different one.
- Run the report with item-level_itypes ON.  Verify that
  the item-level item type is displayed.
- Change item-level_itypes to OFF.  Run the report again and
  verify that the bib-level item type is displayed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/HoldsQueue.pm