Bugzilla – Attachment 24378 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), 2.95 KB, created by
Jonathan Druart
on 2014-01-15 09:04:54 UTC
(
hide
)
Description:
Bug 11312: Facets should be selectable using an id [opac-prog]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-15 09:04:54 UTC
Size:
2.95 KB
patch
obsolete
>From 045241fe2710eaebf4005279711ba8a9df789a6c 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> >--- > koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc | 18 +++++++++--------- > 1 file 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..bffd3da 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.10.4
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