Bugzilla – Attachment 133109 Details for
Bug 30498
Enum search_field.type should contain year in kohastructure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30498: Corresponding DBIx change for SearchField
Bug-30498-Corresponding-DBIx-change-for-SearchFiel.patch (text/plain), 1.79 KB, created by
Marcel de Rooy
on 2022-04-08 09:39:25 UTC
(
hide
)
Description:
Bug 30498: Corresponding DBIx change for SearchField
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-04-08 09:39:25 UTC
Size:
1.79 KB
patch
obsolete
>From 13679f586e634e505a04f96abe5958f3675ede68 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 8 Apr 2022 09:37:59 +0000 >Subject: [PATCH] Bug 30498: Corresponding DBIx change for SearchField >Content-Type: text/plain; charset=utf-8 > >No test plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Schema/Result/SearchField.pm | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index 9f21c5d663..420e65e672 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -48,7 +48,7 @@ the human readable name of the field, for display > =head2 type > > data_type: 'enum' >- extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]} >+ extra: {list => ["","string","date","number","boolean","sum","isbn","stdno","year"]} > is_nullable: 0 > > what type of data this holds, relevant when storing it in the search engine >@@ -98,7 +98,17 @@ __PACKAGE__->add_columns( > { > data_type => "enum", > extra => { >- list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"], >+ list => [ >+ "", >+ "string", >+ "date", >+ "number", >+ "boolean", >+ "sum", >+ "isbn", >+ "stdno", >+ "year", >+ ], > }, > is_nullable => 0, > }, >@@ -158,8 +168,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-10-16 14:32:53 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HBEJWxqos7/LzD/QzTi45Q >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-08 09:37:38 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iWmUtCXEzX6vilFP9jdojA > > __PACKAGE__->add_columns( > '+mandatory' => { is_boolean => 1 }, >-- >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 30498
:
133108
|
133109
|
133137
|
133138