Bugzilla – Attachment 134413 Details for
Bug 27344
Implement Elastic's update_index_background using Koha::BackgroundJob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27344: Add error detail if something wrong happened
Bug-27344-Add-error-detail-if-something-wrong-happ.patch (text/plain), 1.41 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-29 17:24:15 UTC
(
hide
)
Description:
Bug 27344: Add error detail if something wrong happened
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-29 17:24:15 UTC
Size:
1.41 KB
patch
obsolete
>From e2878114de1efbe9365a9cfabace7061da019b1d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Apr 2022 16:11:29 +0200 >Subject: [PATCH] Bug 27344: Add error detail if something wrong happened > >--- > .../background_jobs/update_elastic_index.inc | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc >index d35f06fee5..9386cedcb9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc >@@ -17,6 +17,21 @@ > [% END %] > > [% BLOCK detail %] >+ [% FOR m IN job.messages %] >+ <div class="dialog message"> >+ [% IF m.type == 'success' %] >+ <i class="fa fa-check success"></i> >+ [% ELSIF m.type == 'warning' %] >+ <i class="fa fa-warning warn"></i> >+ [% ELSIF m.type == 'error' %] >+ <i class="fa fa-exclamation error"></i> >+ [% END %] >+ [% SWITCH m.code %] >+ [% CASE 'index_error' %] >+ Something went wrong during the indexation process: [% m.error | html %] >+ [% END %] >+ </div> >+ [% END %] > [% END %] > > [% BLOCK js %] >-- >2.34.1
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 27344
:
114877
|
116252
|
116931
|
132444
|
132445
|
132446
|
132586
|
132609
|
132610
|
132611
|
132612
|
132613
|
132645
|
132646
|
132794
|
132795
|
132796
|
132797
|
132798
|
132843
|
132844
|
132845
|
132969
|
132970
|
132994
|
132995
|
133033
|
134406
|
134407
|
134408
|
134409
|
134410
|
134411
|
134412
| 134413