Bugzilla – Attachment 166292 Details for
Bug 36750
OPAC - some facet heading labels are not displayed in search results when using Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36750: Fix Languages vs Language
Bug-36750-Fix-Languages-vs-Language.patch (text/plain), 2.63 KB, created by
Jonathan Druart
on 2024-05-07 14:14:31 UTC
(
hide
)
Description:
Bug 36750: Fix Languages vs Language
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-05-07 14:14:31 UTC
Size:
2.63 KB
patch
obsolete
>From 38665d25052b3103322e7f374df006861718264d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 May 2024 15:46:54 +0200 >Subject: [PATCH] Bug 36750: Fix Languages vs Language > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >index 82262f6c25d..403628d52fc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >@@ -87,6 +87,7 @@ > [% FOREACH facet IN facets_loo.facets %] > [% IF facets_loo.label == 'Collections' %] > [% SET facet.facet_label_value = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value ) || facet.facet_label_value %] >+ [% END %] > [% IF facets_loo.label == 'Languages' %] > [% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >index 06909fbfc49..a376bbc7bbd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -78,7 +78,7 @@ > [% END %] > [% FOREACH facet IN facets_loo.facets %] > [% IF facets_loo.label == 'Collections' %][% SET facet.facet_label_value = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value, opac =>1 ) || facet.facet_label_value %][% END %] >- [% IF facets_loo.label == 'Language' %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %] >+ [% IF facets_loo.label == 'Languages' %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %] > [% IF loop.count > 5 && !facet.active %] > <li class="collapsible-facet" style="display:none"> > [% ELSE %] >-- >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 36750
:
166031
|
166032
|
166083
|
166084
|
166187
|
166191
|
166192
|
166193
|
166194
|
166281
|
166282
|
166283
|
166284
|
166286
|
166288
|
166289
|
166290
|
166291
| 166292