Bugzilla – Attachment 54469 Details for
Bug 17080
Koha::Object->new should handle default values for NOT NULL columns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17080: categories.checkprevcheckout - use the default value defined in the DBIx::Class schema
Bug-17080-categoriescheckprevcheckout---use-the-de.patch (text/plain), 1.10 KB, created by
Marc Véron
on 2016-08-15 12:43:19 UTC
(
hide
)
Description:
Bug 17080: categories.checkprevcheckout - use the default value defined in the DBIx::Class schema
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-08-15 12:43:19 UTC
Size:
1.10 KB
patch
obsolete
>From a9076c7990646fba8ad2ea7b674361077c65369e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 Aug 2016 14:14:36 +0100 >Subject: [PATCH] Bug 17080: categories.checkprevcheckout - use the default > value defined in the DBIx::Class schema >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch reverts bug 17069 > >Test plan: >Create a new patron category > > prove t/db_dependent/Koha/Patron/Categories.t >should return green > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > Koha/Patron/Category.pm | 7 ------- > 1 file changed, 7 deletions(-) > >diff --git a/Koha/Patron/Category.pm b/Koha/Patron/Category.pm >index 06012ec..7b17c8c 100644 >--- a/Koha/Patron/Category.pm >+++ b/Koha/Patron/Category.pm >@@ -35,13 +35,6 @@ Koha::Patron;;Category - Koha Patron;;Category Object class > > =cut > >-sub store { >- my ( $self ) = @_; >- $self->checkprevcheckout('inherit') >- unless defined $self->checkprevcheckout; >- return $self->SUPER::store; >-} >- > =head3 default_messaging > > my $messaging = $category->default_messaging(); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17080
:
54162
|
54163
|
54164
|
54165
|
54166
|
54465
|
54466
|
54467
|
54468
|
54469
|
56464
|
56465
|
56466
|
56467
|
56468
|
56728