]> git.koha-community.org Git - koha.git/commit
Bug 20067: Fix false display of authorised value for materials on staff detail page
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 23 Feb 2018 13:20:17 +0000 (14:20 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:01:10 +0000 (17:01 -0300)
commit1428615dad77f4a9702f287c461d792e908b5dcf
tree78a91bf28e11f2ea15c830eb3bd4cc8fbff3e5e5
parentf3dfd5226d0c077428df797fb8b829ed7f333748
Bug 20067: Fix false display of authorised value for materials on staff detail page

Koha didn't check for a linked authorised value category for
Koha didn't check for a linked authorised value category for
items.materials correctly which led to displaying false information
on the detail page.

To test:
- before applying the patch:
- make sure sample data and configuration is loaded
- edit any item
- write 2 in the $3 materials specificed
- check the details page normal view - it will display 'restocking'
- apply patch
- check display, it should now show "2"
- link 952$3 (MARC21) to ORDER_CANCELLATION_REASON
- check display again, it should now show 'restocking'

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
catalogue/detail.pl