Bugzilla – Attachment 85969 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: Update facet_order default value in atomic update
Bug-18235-Update-facetorder-default-value-in-atomi.patch (text/plain), 1.11 KB, created by
Jonathan Druart
on 2019-03-04 00:37:11 UTC
(
hide
)
Description:
Bug 18235: Update facet_order default value in atomic update
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-03-04 00:37:11 UTC
Size:
1.11 KB
patch
obsolete
>From 3a2ac2dac05162eb01cce297aa2813c02cc4844d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sun, 3 Mar 2019 21:23:12 -0300 >Subject: [PATCH] Bug 18235: Update facet_order default value in atomic update > >--- > .../data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql b/installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql >index a7d237a02d..6cf83ab947 100644 >--- a/installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql >+++ b/installer/data/mysql/atomicupdate/bug_18235-add-search_field-facet_order.sql >@@ -1,4 +1,4 @@ >-ALTER TABLE search_field ADD COLUMN facet_order TINYINT(4) DEFAULT '0' AFTER weight; >+ALTER TABLE search_field ADD COLUMN facet_order TINYINT(4) DEFAULT NULL AFTER weight; > UPDATE search_field SET facet_order=1 WHERE name='author'; > UPDATE search_field SET facet_order=2 WHERE name='itype'; > UPDATE search_field SET facet_order=3 WHERE name='location'; >-- >2.11.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 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