https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20581 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #84928|0 |1 is obsolete| | --- Comment #212 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 85092 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85092&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 Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.