Bugzilla – Attachment 101895 Details for
Bug 16787
'Too many holds' message appears inappropriately and is missing data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16787: DO NOT PUSH - Schema updates
Bug-16787-DO-NOT-PUSH---Schema-updates.patch (text/plain), 4.01 KB, created by
Nick Clemens (kidclamp)
on 2020-03-26 16:47:27 UTC
(
hide
)
Description:
Bug 16787: DO NOT PUSH - Schema updates
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-03-26 16:47:27 UTC
Size:
4.01 KB
patch
obsolete
>From f4cf207ff5872d5da55deeaeba708ad22daeacd4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 26 Mar 2020 16:46:34 +0000 >Subject: [PATCH] Bug 16787: DO NOT PUSH - Schema updates > >--- > Koha/Schema/Result/ClubHoldsToPatronHold.pm | 7 ++++--- > Koha/Schema/Result/OldReserve.pm | 8 ++++---- > Koha/Schema/Result/Reserve.pm | 8 ++++---- > 3 files changed, 12 insertions(+), 11 deletions(-) > >diff --git a/Koha/Schema/Result/ClubHoldsToPatronHold.pm b/Koha/Schema/Result/ClubHoldsToPatronHold.pm >index 59ffca0daf..e615c1bdac 100644 >--- a/Koha/Schema/Result/ClubHoldsToPatronHold.pm >+++ b/Koha/Schema/Result/ClubHoldsToPatronHold.pm >@@ -50,7 +50,7 @@ __PACKAGE__->table("club_holds_to_patron_holds"); > =head2 error_code > > data_type: 'enum' >- extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred"]} >+ extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred","noReservesAllowed"]} > is_nullable: 1 > > =head2 error_message >@@ -86,6 +86,7 @@ __PACKAGE__->add_columns( > "libraryNotFound", > "libraryNotPickupLocation", > "cannotBeTransferred", >+ "noReservesAllowed", > ], > }, > is_nullable => 1, >@@ -159,8 +160,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ECI9E9WQTX7LaIlqF5rwEw > > sub koha_objects_class { > 'Koha::Club::Hold::PatronHolds'; >diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm >index 85e604d288..c516bc5b50 100644 >--- a/Koha/Schema/Result/OldReserve.pm >+++ b/Koha/Schema/Result/OldReserve.pm >@@ -91,7 +91,7 @@ __PACKAGE__->table("old_reserves"); > > data_type: 'timestamp' > datetime_undef_if_invalid: 1 >- default_value: current_timestamp >+ default_value: 'current_timestamp()' > is_nullable: 0 > > =head2 itemnumber >@@ -173,7 +173,7 @@ __PACKAGE__->add_columns( > { > data_type => "timestamp", > datetime_undef_if_invalid => 1, >- default_value => \"current_timestamp", >+ default_value => "current_timestamp()", > is_nullable => 0, > }, > "itemnumber", >@@ -298,8 +298,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8DGJs3nscxvABwZhxthE+g > > sub koha_object_class { > 'Koha::Old::Hold'; >diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm >index c5460e34da..d1ed500fcc 100644 >--- a/Koha/Schema/Result/Reserve.pm >+++ b/Koha/Schema/Result/Reserve.pm >@@ -95,7 +95,7 @@ __PACKAGE__->table("reserves"); > > data_type: 'timestamp' > datetime_undef_if_invalid: 1 >- default_value: current_timestamp >+ default_value: 'current_timestamp()' > is_nullable: 0 > > =head2 itemnumber >@@ -187,7 +187,7 @@ __PACKAGE__->add_columns( > { > data_type => "timestamp", > datetime_undef_if_invalid => 1, >- default_value => \"current_timestamp", >+ default_value => "current_timestamp()", > is_nullable => 0, > }, > "itemnumber", >@@ -337,8 +337,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/FD6PSEFev9UJxyGmaZxFQ > > __PACKAGE__->belongs_to( > "item", >-- >2.11.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 16787
:
52652
|
68894
|
68895
|
72827
|
72828
|
72889
|
91146
|
91147
|
91148
|
91149
|
96152
|
97403
|
99949
|
99950
|
100951
|
101473
|
101474
|
101475
|
101895
|
107793
|
107794
|
107795
|
114675
|
114676
|
114677
|
119279
|
119280
|
119281
|
119335
|
119336
|
119337
|
119616
|
119617
|
119619
|
119620
|
119621
|
119622
|
119623
|
119738
|
119739
|
119740
|
119741
|
119942
|
120009