]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Apr 2018 22:31:33 +0000 (22:31 +0000)
commitc4ce0990452fb8cf1a52c732928b8f5f8789471a
treefb1a0e2019a5ab8a46d104e24c1f7d7e102c6b52
parent3f118604af4ff965a1a320656e40762f9958e791
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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
catalogue/detail.pl