Bugzilla – Attachment 85999 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), 1.06 KB, created by
Josef Moravec
on 2019-03-04 14:48:46 UTC
(
hide
)
Description:
Bug 18213: DB Update (facet order)
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-03-04 14:48:46 UTC
Size:
1.06 KB
patch
obsolete
>From a2734d2a273180a3935c4df2f0efa248f54d79d9 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> >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > 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 0000000000..6f6ce549bf >--- /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.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 18213
:
64798
|
64841
|
64905
|
68944
|
68945
|
68946
|
72940
|
72941
|
72942
|
72943
|
73008
|
73009
|
73010
|
73011
|
75971
|
75972
|
75973
|
75974
|
85998
| 85999 |
86000
|
86001