Bugzilla – Attachment 62644 Details for
Bug 14224
patron notes about item shown at check in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14424: DBIC Schema changes
Bug-14424-DBIC-Schema-changes.patch (text/plain), 3.06 KB, created by
Jonathan Druart
on 2017-04-24 19:07:08 UTC
(
hide
)
Description:
Bug 14424: DBIC Schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-24 19:07:08 UTC
Size:
3.06 KB
patch
obsolete
>From 5e4cb89a96ed987d1f4b3af33b60178e2afb2eb7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 20 Apr 2017 13:46:35 -0300 >Subject: [PATCH] Bug 14424: DBIC Schema changes > >https://bugs.koha-community.org/show_bug.cgi?id=14224 >--- > Koha/Schema/Result/Issue.pm | 30 ++++++++++++++++++++++++++++-- > Koha/Schema/Result/OldIssue.pm | 30 ++++++++++++++++++++++++++++-- > 2 files changed, 56 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm >index ffdc50d..6c39c91 100644 >--- a/Koha/Schema/Result/Issue.pm >+++ b/Koha/Schema/Result/Issue.pm >@@ -95,6 +95,22 @@ __PACKAGE__->table("issues"); > default_value: 0 > is_nullable: 0 > >+=head2 note >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+=head2 notedate >+ >+ data_type: 'datetime' >+ datetime_undef_if_invalid: 1 >+ is_nullable: 1 >+ >+=head2 noteseen >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -143,6 +159,16 @@ __PACKAGE__->add_columns( > }, > "onsite_checkout", > { data_type => "integer", default_value => 0, is_nullable => 0 }, >+ "note", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "notedate", >+ { >+ data_type => "datetime", >+ datetime_undef_if_invalid => 1, >+ is_nullable => 1, >+ }, >+ "noteseen", >+ { data_type => "integer", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -214,8 +240,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-07 14:25:37 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8jFZATc7tlK4Qb5YW8yrrw >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-20 13:44:33 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qs+tM2Y0trdB3Affbcg5sg > > __PACKAGE__->belongs_to( > "borrower", >diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm >index 025afd7..e60ba96 100644 >--- a/Koha/Schema/Result/OldIssue.pm >+++ b/Koha/Schema/Result/OldIssue.pm >@@ -94,6 +94,22 @@ __PACKAGE__->table("old_issues"); > default_value: 0 > is_nullable: 0 > >+=head2 note >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+=head2 notedate >+ >+ data_type: 'datetime' >+ datetime_undef_if_invalid: 1 >+ is_nullable: 1 >+ >+=head2 noteseen >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -142,6 +158,16 @@ __PACKAGE__->add_columns( > }, > "onsite_checkout", > { data_type => "integer", default_value => 0, is_nullable => 0 }, >+ "note", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "notedate", >+ { >+ data_type => "datetime", >+ datetime_undef_if_invalid => 1, >+ is_nullable => 1, >+ }, >+ "noteseen", >+ { data_type => "integer", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -199,8 +225,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-07 14:25:37 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Nqm7crVG/Y5G3kuLAAKdSQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-20 13:44:33 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3ZaqChwtBW1oU0gMY40XJw > > sub koha_objects_class { > 'Koha::Old::Checkouts'; >-- >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 14224
:
41801
|
41921
|
56682
|
57440
|
57577
|
57763
|
57802
|
57829
|
57853
|
58277
|
58325
|
58326
|
58372
|
58606
|
58622
|
59469
|
59637
|
59641
|
59761
|
59779
|
59780
|
59781
|
59782
|
59783
|
59784
|
59785
|
59786
|
59787
|
59788
|
59796
|
59798
|
59799
|
59800
|
59801
|
59802
|
59803
|
59804
|
59805
|
59806
|
61847
|
61848
|
61849
|
61850
|
61851
|
61852
|
61853
|
61854
|
61855
|
61856
|
62196
|
62197
|
62198
|
62199
|
62200
|
62201
|
62202
|
62203
|
62204
|
62205
|
62206
|
62633
|
62634
|
62635
|
62636
|
62637
|
62638
|
62639
|
62640
|
62641
|
62642
|
62643
| 62644