Bugzilla – Attachment 163686 Details for
Bug 36396
Link facet with authorised value category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36396: DBIC schema changes
Bug-36396-DBIC-schema-changes.patch (text/plain), 1.58 KB, created by
Jonathan Druart
on 2024-03-22 10:36:10 UTC
(
hide
)
Description:
Bug 36396: DBIC schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-22 10:36:10 UTC
Size:
1.58 KB
patch
obsolete
>From 58561a3e799bcfa8b3abd70f843d5e040c3d874c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Mar 2024 15:51:44 +0100 >Subject: [PATCH] Bug 36396: DBIC schema changes > >Sponsored-by: The Research University in the Helmholtz Association (KIT) >--- > Koha/Schema/Result/SearchField.pm | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index 6cc906831eb..677e146713b 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -85,6 +85,14 @@ the order place of the field in facet list if faceted > > if marked this field is not editable or removable > >+=head2 authorised_value_category >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 32 >+ >+link to authorised value category >+ > =cut > > __PACKAGE__->add_columns( >@@ -123,6 +131,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > "mandatory", > { data_type => "tinyint", is_nullable => 1 }, >+ "authorised_value_category", >+ { data_type => "varchar", is_nullable => 1, size => 32 }, > ); > > =head1 PRIMARY KEY >@@ -169,8 +179,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-18 15:10:43 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Uk5JsfPJo0XVvGfMfJg3cg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-03-21 14:46:42 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/QKQuED5bWvSqfYSRYDuYA > > __PACKAGE__->add_columns( > '+mandatory' => { is_boolean => 1 }, >-- >2.34.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 36396
:
163685
|
163686
|
163687
|
163688
|
163689
|
163690
|
163705
|
163776
|
163777
|
163778
|
163779
|
163780
|
163781
|
163782
|
166246
|
166247
|
166248
|
166249
|
166250
|
166251
|
166252
|
166254
|
166258