[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
Fri Oct 12 16:09:57 CEST 2018


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

--- Comment #65 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 80475
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80475
Bug 20581: (follow-up) Fix statusalias return

Review of attachment 80475:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20581&attachment=80475)
-----------------------------------------------------------------

::: Koha/Illrequest.pm
@@ +125,5 @@
>              scalar $self->_result->status_alias
> +        );
> +    } else {
> +        return;
> +    }

This could be written even simpler:

return unless $self->status_alias
return Koha::AuthorisedValue->_new_from_dbic(
    scalar $self->_result->status_alias
);

But no blocker

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


More information about the Koha-bugs mailing list