Bugzilla – Attachment 24532 Details for
Bug 11312
Add span to facets (for css selection)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11312: Facets should be selectable using an id [opac-prog]
Bug-11312-Facets-should-be-selectable-using-an-id-.patch (text/plain), 3.00 KB, created by
Kyle M Hall (khall)
on 2014-01-17 20:11:17 UTC
(
hide
)
Description:
Bug 11312: Facets should be selectable using an id [opac-prog]
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-01-17 20:11:17 UTC
Size:
3.00 KB
patch
obsolete
>From b9bddc0729936184b7a2c2fc89a18e9063f756a1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 27 Nov 2013 16:35:27 +0100 >Subject: [PATCH] Bug 11312: Facets should be selectable using an id [opac-prog] > >Signed-off-by: Francesca Moore <francescalamoore@gmail.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../opac-tmpl/prog/en/includes/opac-facets.inc | 18 +++++++++--------- > 1 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc >index aae5d71..88e45db 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc >@@ -10,16 +10,16 @@ > [% FOREACH facets_loo IN facets_loop %] > [% IF facets_loo.facets.size > 0 %] > <li id="[% facets_loo.type_id %]"> >-[% IF ( facets_loo.type_label_Authors ) %]Authors[% END %] >-[% IF ( facets_loo.type_label_Titles ) %]Titles[% END %] >-[% IF ( facets_loo.type_label_Topics ) %]<span id="facet-topics">Topics</span>[% END %] >-[% IF ( facets_loo.type_label_Places ) %]<span id="facet-places">Places</span>[% END %] >-[% IF ( facets_loo.type_label_Series ) %]<span id="facet-series">Series</span>[% END %] >-[% IF ( facets_loo.type_label_ItemTypes ) %]<span id="facet-itypes">Item types</span>[% END %] >-[% UNLESS ( singleBranchMode ) %] >-[% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] >+[% IF facets_loo.type_label_Authors %]<span id="facet-authors">Authors</span>[% END %] >+[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %] >+[% IF facets_loo.type_label_Topics %]<span id="facet-topics">Topics</span>[% END %] >+[% IF facets_loo.type_label_Places %]<span id="facet-places">Places</span>[% END %] >+[% IF facets_loo.type_label_Series %]<span id="facet-series">Series</span>[% END %] >+[% IF facets_loo.type_label_ItemTypes %]<span id="facet-itypes">Item types</span>[% END %] >+[% UNLESS singleBranchMode %] >+ [% IF facets_loo.type_label_Libraries %]<span id="facet-libraries">Libraries</span>[% END %] > [% END %] >-[% IF ( facets_loo.type_label_Location ) %]Locations[% END %] >+[% IF facets_loo.type_label_Location %]<span id="facet-locations">Locations</span>[% END %] > <ul> > [% FOREACH facet IN facets_loo.facets %]<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]&limit=[% facet.type_link_value %]:[% facet.facet_link_value %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a> [% IF ( displayFacetCount ) %]([% facet.facet_count %])[% END %]</li>[% END %][% IF ( facets_loo.expandable ) %] > <li class="showmore"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %][% IF ( offset ) %]&offset=[% offset |html %][% END %]&expand=[% facets_loo.expand %]#[% facets_loo.type_id %]">Show more</a></li> >-- >1.7.2.5
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 11312
:
23191
|
23192
|
23193
|
24287
|
24288
|
24289
|
24309
|
24310
|
24311
|
24312
|
24377
|
24378
|
24379
|
24380
|
24445
|
24446
|
24447
|
24448
|
24531
| 24532 |
24533
|
24534