[Koha-bugs] [Bug 17252] Koha::AuthorisedValues - Remove GetAuthorisedValueByCode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 5 18:05:10 CEST 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 55188
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55188&action=edit
Bug 17252 - Koha::AuthorisedValues - Remove GetAuthorisedValueByCode

The subroutine C4::Koha::GetAuthorisedValueByCode returned the
description (staff or opac) for a given authorised value.

Note that we may need a unique key to ->find instead of ->search.

Test plan:
- Checkin an item that cannot be checked in because it's lost, the
  message should display the AV description
- Generate a letter with borrowers.streettype equals an ROADTYPE AV, the
  description should be displayed.
- Edit a patron attribute type, the AV dropdown list should be
  displayed
- Create the PA_CLASS AV category (see bug 7154) and make sure it
  behaves as before when editing a patron
- The checkout list should display descriptions for LOC, LOST and
  DAMAGED

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


More information about the Koha-bugs mailing list