[Koha-bugs] [Bug 21877] Show authorized value description for withdrawn in checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 22 10:02:20 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21877

--- Comment #10 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 84274
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84274&action=edit
Bug 21877: Use AuthorisedValues.GetDescriptionByKohaField for notforloan in
checkout

Using only TT plugin for authorised value description is a better code.

Test plan :
Part 1:
1.1) On a catalog with items.notforloan defined with authorized values category
NOT_LOAN
1.2) Define in NOT_LOAN an authorized values 1 with description 'at the beach'
1.3) Define in NOT_LOAN an authorized values 2 with description empty
Part 2:
2.1) Set preference 'AllowNotForLoanOverride' to 'Don't allow'
2.2) Edit an item with notforloan=1
2.3) Checkout this item => You see 'Item not for loan (at the beach)'
2.4) Edit an item with notforloan=2
2.5) Checkout this item => You see 'Item not for loan'
Part 3:
3.1) Set preference 'AllowNotForLoanOverride' to 'Allow'
3.2) Edit an item with notforloan=1
3.3) Checkout this item => You see 'Item is normally not for loan (at the
beach)'
3.4) Edit an item with notforloan=2
3.5) Checkout this item => You see 'Item is normally not for loan'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list