Bugzilla – Attachment 56468 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.16 KB, created by
Nick Clemens
on 2016-10-14 08:14:43 UTC
(
hide
)
Description:
Bug 17080: categories.checkprevcheckout - use the default value defined in the DBIx::Class schema
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-10-14 08:14:43 UTC
Size:
1.16 KB
patch
obsolete
>From 0e9b6f19987ac947e78efea60e49621cc5819334 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> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Patron/Category.pm | 7 ------- > 1 file changed, 7 deletions(-) > >diff --git a/Koha/Patron/Category.pm b/Koha/Patron/Category.pm >index 331a1ce..7b8c07e 100644 >--- a/Koha/Patron/Category.pm >+++ b/Koha/Patron/Category.pm >@@ -36,13 +36,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