Bugzilla – Attachment 49092 Details for
Bug 9805
Lost items are un-lost if returned, but not if renewed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9805 - Update Schema
Bug-9805---Update-Schema.patch (text/plain), 3.09 KB, created by
Kyle M Hall (khall)
on 2016-03-14 12:56:09 UTC
(
hide
)
Description:
Bug 9805 - Update Schema
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-03-14 12:56:09 UTC
Size:
3.09 KB
patch
obsolete
>From 3322f37558c9662bfc48b54a09c466399a4b2879 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 14 Mar 2016 12:55:23 +0000 >Subject: [PATCH] Bug 9805 - Update Schema > >--- > Koha/Schema/Result/DefaultBranchCircRule.pm | 20 ++++++++++++++++++-- > Koha/Schema/Result/DefaultCircRule.pm | 20 ++++++++++++++++++-- > 2 files changed, 36 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/DefaultBranchCircRule.pm b/Koha/Schema/Result/DefaultBranchCircRule.pm >index 5963b05..f13b8f7 100644 >--- a/Koha/Schema/Result/DefaultBranchCircRule.pm >+++ b/Koha/Schema/Result/DefaultBranchCircRule.pm >@@ -51,6 +51,18 @@ __PACKAGE__->table("default_branch_circ_rules"); > is_nullable: 1 > size: 15 > >+=head2 renew_lost_allowed >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 0 >+ >+=head2 renew_lost_found >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -64,6 +76,10 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", is_nullable => 1 }, > "returnbranch", > { data_type => "varchar", is_nullable => 1, size => 15 }, >+ "renew_lost_allowed", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "renew_lost_found", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -96,8 +112,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p95r3cEx85NtMTEAgiRgBw >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-14 12:54:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1in/TcrS3X/ryU72q/4btA > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/DefaultCircRule.pm b/Koha/Schema/Result/DefaultCircRule.pm >index 5e0f266..d1a85f9 100644 >--- a/Koha/Schema/Result/DefaultCircRule.pm >+++ b/Koha/Schema/Result/DefaultCircRule.pm >@@ -51,6 +51,18 @@ __PACKAGE__->table("default_circ_rules"); > is_nullable: 1 > size: 15 > >+=head2 renew_lost_allowed >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 0 >+ >+=head2 renew_lost_found >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -69,6 +81,10 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 1 }, > "returnbranch", > { data_type => "varchar", is_nullable => 1, size => 15 }, >+ "renew_lost_allowed", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "renew_lost_found", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -84,8 +100,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("singleton"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-14 12:54:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jBmWd6qSwc8R6XrBv/PFVg > > > # You can replace this text with custom content, and it will be preserved on regeneration >-- >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 9805
:
16089
|
16090
|
16302
|
29214
|
37008
|
38430
|
38432
|
38433
|
45411
|
45412
|
45413
|
46539
|
46540
|
46541
|
47616
|
47617
|
47618
|
47619
|
48779
|
48780
|
48781
|
49091
|
49092
|
49093
|
49165
|
162473