Bugzilla – Attachment 74969 Details for
Bug 20691
Add ability for guarantors to view guarantee's fines in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20691: Update Schema Files
Bug-20691-Update-Schema-Files.patch (text/plain), 4.33 KB, created by
Kyle M Hall (khall)
on 2018-05-02 13:13:48 UTC
(
hide
)
Description:
Bug 20691: Update Schema Files
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-05-02 13:13:48 UTC
Size:
4.33 KB
patch
obsolete
>From 26baaf6551ab20acc6e87e8bce1b06f8f3a55581 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 1 May 2018 17:47:50 +0000 >Subject: [PATCH] Bug 20691: Update Schema Files > >--- > Koha/Schema/Result/Borrower.pm | 12 ++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++-- > Koha/Schema/Result/SearchField.pm | 10 ++++++---- > 3 files changed, 26 insertions(+), 8 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 534dd7e14f..fa9fd12df1 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -381,6 +381,12 @@ __PACKAGE__->table("borrowers"); > default_value: 1 > is_nullable: 0 > >+=head2 privacy_guarantor_fines >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =head2 privacy_guarantor_checkouts > > data_type: 'tinyint' >@@ -584,6 +590,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, > "privacy", > { data_type => "integer", default_value => 1, is_nullable => 0 }, >+ "privacy_guarantor_fines", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "checkprevcheckout", >@@ -1380,8 +1388,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-03-25 21:32:19 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zQiYI20PSKC7Kub0678iAA >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hldn1CQpN17+009opY26sA > > __PACKAGE__->add_columns( > '+lost' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 43bebbabc0..e6eba8d46f 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -378,6 +378,12 @@ __PACKAGE__->table("deletedborrowers"); > default_value: 1 > is_nullable: 0 > >+=head2 privacy_guarantor_fines >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =head2 privacy_guarantor_checkouts > > data_type: 'tinyint' >@@ -569,6 +575,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 1 }, > "privacy", > { data_type => "integer", default_value => 1, is_nullable => 0 }, >+ "privacy_guarantor_fines", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "checkprevcheckout", >@@ -605,8 +613,8 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-03-25 21:32:19 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MXaX5GzSeZh/SkfqNmd5hQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:husqub0S1QFw8tscWRGzrw > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index ee32f42cf2..4638427751 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -48,7 +48,7 @@ the human readable name of the field, for display > =head2 type > > data_type: 'enum' >- extra: {list => ["","string","date","number","boolean","sum"]} >+ extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]} > is_nullable: 0 > > what type of data this holds, relevant when storing it in the search engine >@@ -65,7 +65,9 @@ __PACKAGE__->add_columns( > "type", > { > data_type => "enum", >- extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, >+ extra => { >+ list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"], >+ }, > is_nullable => 0, > }, > ); >@@ -114,8 +116,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 13:30:43 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1IenQWmCO16tJ/nIFTFYug >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lmjuGxSq2AKyv3tjmL7CzA > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); > >-- >2.15.1 (Apple Git-101)
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 20691
:
74968
|
74969
|
74970
|
74971
|
74972
|
74973
|
74974
|
74975
|
89951
|
89952
|
89953
|
89990
|
89991
|
89992
|
89993
|
90093
|
90094
|
90095
|
90096
|
91025
|
91026
|
91159
|
91160
|
91161
|
91162
|
92385
|
92386
|
92387
|
92388
|
92485
|
92700
|
92701
|
92702
|
92703
|
92704
|
92705
|
92897