Bugzilla – Attachment 114214 Details for
Bug 23207
Allow automatic checkin/return at end of circulation period
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23207: Set automatic_checkin column as boolean in Itemtype schema
Bug-23207-Set-automaticcheckin-column-as-boolean-i.patch (text/plain), 1.66 KB, created by
Agustín Moyano
on 2020-12-04 23:29:42 UTC
(
hide
)
Description:
Bug 23207: Set automatic_checkin column as boolean in Itemtype schema
Filename:
MIME Type:
Creator:
Agustín Moyano
Created:
2020-12-04 23:29:42 UTC
Size:
1.66 KB
patch
obsolete
>From fb191964947cfcfba0d0f0c460a7bca0057e8b43 Mon Sep 17 00:00:00 2001 >From: Agustin Moyano <agustinmoyano@theke.io> >Date: Fri, 4 Dec 2020 18:47:31 -0300 >Subject: [PATCH] Bug 23207: Set automatic_checkin column as boolean in > Itemtype schema > >--- > Koha/Schema/Result/Itemtype.pm | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 3a4c46ae1d..7a62601df9 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -131,6 +131,12 @@ __PACKAGE__->table("itemtypes"); > is_nullable: 1 > size: 80 > >+=head2 automatic_checkin >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -175,6 +181,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "searchcategory", > { data_type => "varchar", is_nullable => 1, size => 80 }, >+ "automatic_checkin", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -287,12 +295,13 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-13 08:14:04 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5RxmTmtrwJJhTZMur1N05A >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-12-04 15:29:28 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nvjU4T+cepfbUA2tvXKKSA > > __PACKAGE__->add_columns( > '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, > '+rentalcharge_daily_calendar' => { is_boolean => 1 }, >+ '+automatic_checkin' => { is_boolean => 1 }, > ); > > # Use the ItemtypeLocalization view to create the join on localization >-- >2.25.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 23207
:
114212
|
114213
|
114214
|
114215
|
117970
|
117971
|
117972
|
117973
|
117984
|
117985
|
117986
|
117987
|
117991
|
117992
|
117993
|
117994
|
119726
|
119727
|
119728
|
119729
|
119730
|
119966
|
119967
|
119973
|
119985
|
119999
|
120000