https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42555

            Bug ID: 42555
           Summary: (Bug 25314 follow-up) Destroyed labels for customized
                    facets
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 25314

After applying Bug 25314, customized facets generated from mappings.yaml are
displayed with the technical type_id instead of the proper label.

This could be fixed with a simple correction in
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc:

@@ -81,7 +81,7 @@
                         [% CASE 'Languages' %]
                             <a [% attrs | $raw %]
id="facet-languages">Languages</a>
                         [% CASE %]
-                            <a [% attrs | $raw %] id="facet-[%
facets_loo.type_link_value | html %]">[% facets_loo.type_id | html %]</a>
+                            <a [% attrs | $raw %] id="facet-[%
facets_loo.type_link_value | html %]">[% facets_loo.label | html %]</a>
                         [% END %]
                         <div class="facet-collapse collapse show" id="[%
facets_loo.type_id | html %]_collapse">
                             <ul>


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25314
[Bug 25314] Make OPAC facets collapse
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to