Bugzilla – Attachment 117153 Details for
Bug 8976
Default sequence of subfields in cataloguing and item editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8976: DBIC schema changes
Bug-8976-DBIC-schema-changes.patch (text/plain), 2.82 KB, created by
Jonathan Druart
on 2021-02-22 13:17:29 UTC
(
hide
)
Description:
Bug 8976: DBIC schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-02-22 13:17:29 UTC
Size:
2.82 KB
patch
obsolete
>From 14a07b202e533cf00cda40028fbfdcab2cc5cfb9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 10 Dec 2020 10:51:02 +0100 >Subject: [PATCH] Bug 8976: DBIC schema changes > >Sponsored-by: Orex Digital > >Signed-off-by: Michal Denar <black23@gmail.com> >--- > Koha/Schema/Result/AuthSubfieldStructure.pm | 12 ++++++++++-- > Koha/Schema/Result/MarcSubfieldStructure.pm | 12 ++++++++++-- > 2 files changed, 20 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/AuthSubfieldStructure.pm b/Koha/Schema/Result/AuthSubfieldStructure.pm >index 7bf460d832..792f043b2b 100644 >--- a/Koha/Schema/Result/AuthSubfieldStructure.pm >+++ b/Koha/Schema/Result/AuthSubfieldStructure.pm >@@ -130,6 +130,12 @@ __PACKAGE__->table("auth_subfield_structure"); > data_type: 'mediumtext' > is_nullable: 1 > >+=head2 display_order >+ >+ data_type: 'integer' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -173,6 +179,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, > "defaultvalue", > { data_type => "mediumtext", is_nullable => 1 }, >+ "display_order", >+ { data_type => "integer", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -209,8 +217,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Prv/DCQk32mTQaqtYhUuA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QaSzsLBl3m/n+8u8nXuOeQ > > sub koha_object_class { > 'Koha::Authority::Subfield'; >diff --git a/Koha/Schema/Result/MarcSubfieldStructure.pm b/Koha/Schema/Result/MarcSubfieldStructure.pm >index 00f6dce07c..9dda0ba608 100644 >--- a/Koha/Schema/Result/MarcSubfieldStructure.pm >+++ b/Koha/Schema/Result/MarcSubfieldStructure.pm >@@ -140,6 +140,12 @@ __PACKAGE__->table("marc_subfield_structure"); > default_value: 9999 > is_nullable: 0 > >+=head2 display_order >+ >+ data_type: 'integer' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -181,6 +187,8 @@ __PACKAGE__->add_columns( > { data_type => "mediumtext", is_nullable => 1 }, > "maxlength", > { data_type => "integer", default_value => 9999, is_nullable => 0 }, >+ "display_order", >+ { data_type => "integer", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -222,8 +230,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-11 14:36:42 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lCe1ZenRM/9rXnRHXhDuSw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVbDXEVf96eDkbPYpcmQVA > > > # You can replace this text with custom content, and it will be preserved on regeneration >-- >2.20.1
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 8976
:
114345
|
114346
|
114347
|
114348
|
114349
|
114350
|
114351
|
114352
|
114353
|
114354
|
114355
|
114492
|
114493
|
114494
|
114495
|
114496
|
114497
|
114498
|
117147
|
117148
|
117149
|
117150
|
117151
|
117152
|
117153
|
117268
|
117269
|
117270
|
117271
|
117272
|
117273
|
117274
|
117275
|
117276
|
117477
|
117478