[Koha-bugs] [Bug 29110] Refactor Koha::ArticleRequest->store

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 27 10:39:20 CEST 2021


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

--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+        # this is to avoid calling ->discard_changes to retrieve
+        # the default value from the DB
+        $self->status( Koha::ArticleRequest::Status::Requested )
+            unless $self->status;

Hmm. But if you didnt provide a status, we should be able to rely on the
default value from the DB engine, isnt it?

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


More information about the Koha-bugs mailing list