[Koha-bugs] [Bug 20581] Allow manual selection of custom ILL request statuses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 13:57:29 CET 2019


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

--- Comment #161 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 84814
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84814&action=edit
Bug 20581: (follow-up) Overload status_alias

We need Koha::Illrequest->status_alias to return the correct authorised value.
Since the foreign key uses a non-unique column, we need to take into
account the authorised value category too.

This patch overloads status_alias with some additional logic that
considers the request's branch and the authorised value category to
attempt to return the correct value.

The same logic is applied to the custom statusalias method, which
returns the entire AuthorisedValue object

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


More information about the Koha-bugs mailing list