Bugzilla – Attachment 146502 Details for
Bug 11844
Additional fields for order lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11844: [DO NOT PUSH] Schema changes
Bug-11844-DO-NOT-PUSH-Schema-changes.patch (text/plain), 1.81 KB, created by
Katrin Fischer
on 2023-02-10 16:46:50 UTC
(
hide
)
Description:
Bug 11844: [DO NOT PUSH] Schema changes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-02-10 16:46:50 UTC
Size:
1.81 KB
patch
obsolete
>From fe1d0ee6f6d585214d8597b2d3fbb1c35d3abf63 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 10 Feb 2023 15:44:09 +0000 >Subject: [PATCH] Bug 11844: [DO NOT PUSH] Schema changes > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > Koha/Schema/Result/AdditionalField.pm | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/AdditionalField.pm b/Koha/Schema/Result/AdditionalField.pm >index c03624478b..58c65e7ec3 100644 >--- a/Koha/Schema/Result/AdditionalField.pm >+++ b/Koha/Schema/Result/AdditionalField.pm >@@ -67,6 +67,15 @@ is an authorised value category > > contains the marc field to copied into the record > >+=head2 marcfield_mode >+ >+ data_type: 'enum' >+ default_value: 'get' >+ extra: {list => ["get","set"]} >+ is_nullable: 0 >+ >+mode of operation (get or set) for marcfield >+ > =head2 searchable > > data_type: 'tinyint' >@@ -88,6 +97,13 @@ __PACKAGE__->add_columns( > { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, > "marcfield", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 16 }, >+ "marcfield_mode", >+ { >+ data_type => "enum", >+ default_value => "get", >+ extra => { list => ["get", "set"] }, >+ is_nullable => 0, >+ }, > "searchable", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); >@@ -138,8 +154,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-19 06:49:06 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4GqBQNlfw8ITsUZH0GidsQ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-02-10 15:43:31 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ddjyb8kHmHDNdkAgzM+THg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.30.2
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 11844
:
25632
|
25638
|
41859
|
41860
|
45674
|
45675
|
45676
|
45758
|
45915
|
45916
|
45917
|
53614
|
53615
|
53616
|
53618
|
53619
|
55529
|
75332
|
75362
|
141116
|
145517
|
145535
|
145536
|
145540
|
146497
|
146500
|
146501
|
146502
|
146503
|
146504
|
146505
|
146506
|
148889
|
148895
|
148897
|
149081
|
149082
|
149083
|
149084
|
149085
|
149086
|
149087
|
149088
|
149089
|
149090
|
149091
|
149682
|
149683
|
149684
|
149685
|
149686
|
149687
|
149688
|
149689
|
149690
|
149691
|
149692
|
150537
|
150538
|
150539
|
150540
|
150541
|
150542
|
150543
|
150544
|
150545
|
150546
|
150547
|
150548
|
151220
|
151221
|
151222
|
151223
|
151224
|
151225
|
151226
|
151227
|
151228
|
151229
|
151230
|
151366