[Koha-bugs] [Bug 17248] Koha::AuthorisedValues - Remove GetKohaAuthorisedValueLib
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 14:36:23 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17248
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55377|0 |1
is obsolete| |
--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 56267
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56267&action=edit
[PASSED QA] Bug 17248 - Koha::AuthorisedValues - Remove
GetKohaAuthorisedValueLib
The subroutine C4::Koha::GetKohaAuthorisedValueLib just retrieves a description
(lib) for a given authorised value.
We can easily replace it using:
Koha::AuthorisedValues->search({ category => $cat, authorised_value => $av
})->lib
or
Koha::AuthorisedValues->search({ category => $cat, authorised_value => $av
})->opac_description
Test plan:
- On the detail page of a bibliographic record, the description for notforloan,
restricted and stack (?) should be correctly displayed
- View a shelf, the location (LOC) description should be displayed
- On the search result page, the location description should be displayed in
the
facets
- Set AcqCreateItem=ordering and receiving items.
The description for notforloan, restricted, location, ccode, etc. field
should be displayed.
- When creating item in the acquisition module, the dropdown list for
field linked to AV should display the AV' descriptions
- On the transfers page, the description of the location should be
displayed.
- On the checkout list from the circulation.pl and returns.pl pages, the
description for "materials" should be displayed
- Fill some OPAC_SUG AV and create a suggestion, the reason dropdown
list should display the description of OPAC_SUG
Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list