Bugzilla – Attachment 39152 Details for
Bug 14045
Add specific quotas to on-site checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14045: DBIC Changes
Bug-14045-DBIC-Changes.patch (text/plain), 6.49 KB, created by
Jonathan Druart
on 2015-05-13 16:04:17 UTC
(
hide
)
Description:
Bug 14045: DBIC Changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-13 16:04:17 UTC
Size:
6.49 KB
patch
obsolete
>From 98e19f48184084d72ea5b1cf435f32c84c848717 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@koha-community.org> >Date: Wed, 13 May 2015 17:53:19 +0200 >Subject: [PATCH] Bug 14045: DBIC Changes > >--- > Koha/Schema/Result/BranchBorrowerCircRule.pm | 11 +++++++++-- > Koha/Schema/Result/DefaultBorrowerCircRule.pm | 11 +++++++++-- > Koha/Schema/Result/DefaultBranchCircRule.pm | 11 +++++++++-- > Koha/Schema/Result/DefaultCircRule.pm | 11 +++++++++-- > Koha/Schema/Result/Issuingrule.pm | 11 +++++++++-- > 5 files changed, 45 insertions(+), 10 deletions(-) > >diff --git a/Koha/Schema/Result/BranchBorrowerCircRule.pm b/Koha/Schema/Result/BranchBorrowerCircRule.pm >index fce2914..1c8ce6a 100644 >--- a/Koha/Schema/Result/BranchBorrowerCircRule.pm >+++ b/Koha/Schema/Result/BranchBorrowerCircRule.pm >@@ -42,6 +42,11 @@ __PACKAGE__->table("branch_borrower_circ_rules"); > data_type: 'integer' > is_nullable: 1 > >+=head2 maxonsiteissueqty >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -51,6 +56,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, > "maxissueqty", > { data_type => "integer", is_nullable => 1 }, >+ "maxonsiteissueqty", >+ { data_type => "integer", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -100,8 +107,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X24Sil3WTnxoeAa/16tpUQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MrhgFhfjV71AC5PXmvRPzg > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/DefaultBorrowerCircRule.pm b/Koha/Schema/Result/DefaultBorrowerCircRule.pm >index 0f9c8f1..87bf681 100644 >--- a/Koha/Schema/Result/DefaultBorrowerCircRule.pm >+++ b/Koha/Schema/Result/DefaultBorrowerCircRule.pm >@@ -35,6 +35,11 @@ __PACKAGE__->table("default_borrower_circ_rules"); > data_type: 'integer' > is_nullable: 1 > >+=head2 maxonsiteissueqty >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -42,6 +47,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, > "maxissueqty", > { data_type => "integer", is_nullable => 1 }, >+ "maxonsiteissueqty", >+ { data_type => "integer", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -74,8 +81,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bZVuSuLu0IxPcJMaUUjbSw >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EQ8PdQhM6+5K582+AL5ZXQ > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/DefaultBranchCircRule.pm b/Koha/Schema/Result/DefaultBranchCircRule.pm >index 55fd2b2..5963b05 100644 >--- a/Koha/Schema/Result/DefaultBranchCircRule.pm >+++ b/Koha/Schema/Result/DefaultBranchCircRule.pm >@@ -35,6 +35,11 @@ __PACKAGE__->table("default_branch_circ_rules"); > data_type: 'integer' > is_nullable: 1 > >+=head2 maxonsiteissueqty >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =head2 holdallowed > > data_type: 'tinyint' >@@ -53,6 +58,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, > "maxissueqty", > { data_type => "integer", is_nullable => 1 }, >+ "maxonsiteissueqty", >+ { data_type => "integer", is_nullable => 1 }, > "holdallowed", > { data_type => "tinyint", is_nullable => 1 }, > "returnbranch", >@@ -89,8 +96,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Uw1Y82CgbAY8ndLOucN70g >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p95r3cEx85NtMTEAgiRgBw > > > # 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 7bd1564..5e0f266 100644 >--- a/Koha/Schema/Result/DefaultCircRule.pm >+++ b/Koha/Schema/Result/DefaultCircRule.pm >@@ -35,6 +35,11 @@ __PACKAGE__->table("default_circ_rules"); > data_type: 'integer' > is_nullable: 1 > >+=head2 maxonsiteissueqty >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =head2 holdallowed > > data_type: 'integer' >@@ -58,6 +63,8 @@ __PACKAGE__->add_columns( > }, > "maxissueqty", > { data_type => "integer", is_nullable => 1 }, >+ "maxonsiteissueqty", >+ { data_type => "integer", is_nullable => 1 }, > "holdallowed", > { data_type => "integer", is_nullable => 1 }, > "returnbranch", >@@ -77,8 +84,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("singleton"); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I4hY1uJ+wDoWPIiZj5amVg >+# 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 > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Issuingrule.pm b/Koha/Schema/Result/Issuingrule.pm >index 438c23b..53de573 100644 >--- a/Koha/Schema/Result/Issuingrule.pm >+++ b/Koha/Schema/Result/Issuingrule.pm >@@ -96,6 +96,11 @@ __PACKAGE__->table("issuingrules"); > data_type: 'integer' > is_nullable: 1 > >+=head2 maxonsiteissueqty >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =head2 issuelength > > data_type: 'integer' >@@ -203,6 +208,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 100 }, > "maxissueqty", > { data_type => "integer", is_nullable => 1 }, >+ "maxonsiteissueqty", >+ { data_type => "integer", is_nullable => 1 }, > "issuelength", > { data_type => "integer", is_nullable => 1 }, > "lengthunit", >@@ -253,8 +260,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); > > >-# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-19 07:00:40 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CE8yuYC5QgPHI2GOjiT28w >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H6LuTmUWdqmjCc5L4hsTQA > > > # You can replace this text with custom content, and it will be preserved on regeneration >-- >2.1.0
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 14045
:
39147
|
39148
|
39149
|
39150
|
39151
|
39152
|
39572
|
39573
|
39574
|
39575
|
39576
|
39577
|
39578
|
39579
|
42317
|
42318
|
42319
|
42320
|
42321
|
42322
|
43178
|
43326
|
43327
|
43328
|
43329
|
43330
|
43331
|
43332
|
43423
|
44557