Bugzilla – Attachment 64841 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), 916 bytes, created by
Nick Clemens (kidclamp)
on 2017-07-06 09:42:27 UTC
(
hide
)
Description:
Bug 18213 - DB Update (facet order)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-07-06 09:42:27 UTC
Size:
916 bytes
patch
obsolete
>From 3fb5c8689537ca445db6ea5a4a2eb17b3aef55ee 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) > >--- > 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