Bugzilla – Attachment 73009 Details for
Bug 18213
Add language facets to Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18213 - DB Update (facet order)
Bug-18213---DB-Update-facet-order.patch (text/plain), 974 bytes, created by
Nicolas Legrand
on 2018-03-16 10:06:38 UTC
(
hide
)
Description:
Bug 18213 - DB Update (facet order)
Filename:
MIME Type:
Creator:
Nicolas Legrand
Created:
2018-03-16 10:06:38 UTC
Size:
974 bytes
patch
obsolete
>From 7299adf4db3a24bb5a2e508533b4d418ed45e282 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 6 Jul 2017 09:41:31 +0000 >Subject: [PATCH] Bug 18213 - DB Update (facet order) > >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> >--- > installer/data/mysql/atomicupdate/bug18213.perl | 7 +++++++ > 1 file changed, 7 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug18213.perl > >diff --git a/installer/data/mysql/atomicupdate/bug18213.perl b/installer/data/mysql/atomicupdate/bug18213.perl >new file mode 100644 >index 0000000..6f6ce54 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug18213.perl >@@ -0,0 +1,7 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do( "UPDATE search_field SET facet_order=10 WHERE name='ln'" ); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 18213 - Add language facets to Elasticsearch)\n"; >+} >-- >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 18213
:
64798
|
64841
|
64905
|
68944
|
68945
|
68946
|
72940
|
72941
|
72942
|
72943
|
73008
|
73009
|
73010
|
73011
|
75971
|
75972
|
75973
|
75974
|
85998
|
85999
|
86000
|
86001