Bugzilla – Attachment 166247 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.69 KB, created by
Martin Renvoize (ashimema)
on 2024-05-07 10:21:28 UTC
(
hide
)
Description:
Bug 36396: DBIC schema changes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-07 10:21:28 UTC
Size:
1.69 KB
patch
obsolete
>From 195419931d2eee6c25e93ca87551b55a84f8e0e6 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) >Signed-off-by: Lukas Koszyk <lukasz.koszyk@kit.edu> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 54e1f30d07e..0ac2626b87f 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( >@@ -124,6 +132,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 >@@ -170,8 +180,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-04-30 09:10:16 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NE6QXq/8skTxjjoK15fYrg >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-07 09:45:57 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WPJEu04y32zDMr+vnK5og > > __PACKAGE__->add_columns( > '+mandatory' => { is_boolean => 1 }, >-- >2.45.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 36396
:
163685
|
163686
|
163687
|
163688
|
163689
|
163690
|
163705
|
163776
|
163777
|
163778
|
163779
|
163780
|
163781
|
163782
|
166246
| 166247 |
166248
|
166249
|
166250
|
166251
|
166252
|
166254
|
166258