Bugzilla – Attachment 73001 Details for
Bug 18235
Elastic search - Configurable facets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18235: DBIx schema changes
Bug-18235-DBIx-schema-changes.patch (text/plain), 1.55 KB, created by
Nicolas Legrand
on 2018-03-16 09:37:18 UTC
(
hide
)
Description:
Bug 18235: DBIx schema changes
Filename:
MIME Type:
Creator:
Nicolas Legrand
Created:
2018-03-16 09:37:18 UTC
Size:
1.55 KB
patch
obsolete
>From 011b9869cfc055b7fd16322206be5eeb7df34e10 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 30 Jun 2017 10:27:06 +0200 >Subject: [PATCH] Bug 18235: DBIx schema changes > >Fresh changes for SearchField, facet_order. > >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> >--- > Koha/Schema/Result/SearchField.pm | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index ee32f42..96b21ba 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -53,6 +53,12 @@ the human readable name of the field, for display > > what type of data this holds, relevant when storing it in the search engine > >+=head2 facet_order >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -68,6 +74,8 @@ __PACKAGE__->add_columns( > extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, > is_nullable => 0, > }, >+ "facet_order", >+ { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -114,8 +122,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 13:30:43 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1IenQWmCO16tJ/nIFTFYug >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-30 10:26:00 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0f8VeusKpolVCRHLvQKhnA > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); > >-- >2.1.4
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 18235
:
60931
|
60932
|
60933
|
61528
|
61529
|
61530
|
64747
|
69485
|
69486
|
69487
|
72936
|
72937
|
72938
|
72999
|
73000
|
73001
|
73193
|
74642
|
74643
|
75995
|
75996
|
85212
|
85213
|
85214
|
85215
|
85216
|
85885
|
85886
|
85969
|
85970
|
85983
|
85984
|
85985
|
85986
|
85987
|
85988
|
85989
|
85990
|
85991
|
85992
|
86340
|
86341
|
86342
|
86343
|
86344
|
86345
|
86346
|
86347
|
86348
|
86349
|
86350
|
86944
|
86945
|
86946
|
86947
|
86948
|
86949
|
86950
|
86951
|
86952
|
86953
|
86954
|
86955
|
86956
|
87141