Bugzilla – Attachment 85441 Details for
Bug 22080
Easier translation of ElasticSearch mappings page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22080: [DO NOT PUSH] test code
Bug-22080-DO-NOT-PUSH-test-code.patch (text/plain), 1.87 KB, created by
Kyle M Hall (khall)
on 2019-02-21 12:24:27 UTC
(
hide
)
Description:
Bug 22080: [DO NOT PUSH] test code
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-02-21 12:24:27 UTC
Size:
1.87 KB
patch
obsolete
>From 4c66b0d82c62fb8cd7a368ce4c0d6ea89667f1c4 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 11 Jan 2019 14:35:57 +0100 >Subject: [PATCH] Bug 22080: [DO NOT PUSH] test code > >This code is not generate all messages to template : >koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > admin/searchengine/elasticsearch/mappings.pl | 42 ++++++++++++++++++++ > 1 file changed, 42 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.pl b/admin/searchengine/elasticsearch/mappings.pl >index 2c64db022e..eb54ac2c25 100755 >--- a/admin/searchengine/elasticsearch/mappings.pl >+++ b/admin/searchengine/elasticsearch/mappings.pl >@@ -203,6 +203,48 @@ while ( my $search_field = $search_fields->next ) { > push @all_search_fields, $search_field_unblessed; > } > >+push @messages, { >+ type => 'error', >+ code => 'error_on_update', >+ message => 'ERROR <i>foo</i>' >+}; >+push @messages, { >+ type => 'error', >+ code => 'error_on_delete', >+ values => { >+ field_name => '<i>foo</i>', >+ marc_field => '999' >+ } >+}; >+push @messages, { >+ type => 'error', >+ code => 'invalid_field_weight', >+ weight => '<i>foo</i>' >+}; >+push @messages, { >+ type => 'error', >+ code => 'error_on_update_es_mappings', >+ message => 'ERROR <i>foo</i>' >+}; >+push @messages, { >+ type => 'error', >+ code => 'reindex_required', >+ index => '<i>foo</i>' >+}; >+push @messages, { >+ type => 'error', >+ code => 'recreate_required', >+ index => '<i>foo</i>' >+}; >+push @messages, { >+ type => 'message', >+ code => 'success_on_update', >+}; >+push @messages, { >+ type => 'message', >+ code => 'success_on_reset', >+}; >+ > $template->param( > indexes => \@indexes, > all_search_fields => \@all_search_fields, >-- >2.17.2 (Apple Git-113)
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 22080
:
83705
|
83791
|
83792
|
85012
|
85441
|
85442
|
85443
|
85444