Bugzilla – Attachment 23496 Details for
Bug 11277
Bootstrap theme: error in link for showing all facets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11277 Bootstrap theme facets doesn't work properly
Bug-11277-Bootstrap-theme-facets-doesnt-work-prope.patch (text/plain), 4.18 KB, created by
Liz Rea
on 2013-12-12 23:34:24 UTC
(
hide
)
Description:
Bug 11277 Bootstrap theme facets doesn't work properly
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2013-12-12 23:34:24 UTC
Size:
4.18 KB
patch
obsolete
>From 5027029da3a5da523c6528c9c4b827130f32d9b5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 26 Nov 2013 10:16:41 +0100 >Subject: [PATCH] Bug 11277 Bootstrap theme facets doesn't work properly > >Two errors: > > 1. When selecting 'show more' above a facet, the advanced search page > is displayed. > 2. When restricting search on a library facet, all the biblio records > of this library are returned. > >The patch fixes the way URL are encoded with TT filter. See that: > >http://search.cpan.org/~abw/Template-Toolkit-2.25/lib/Template/Manual/Filters.pod#url >Signed-off-by: Liz Rea <liz@catalyst.net.nz> >--- > .../bootstrap/en/includes/opac-facets.inc | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >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 dabb207..5669ce1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -6,9 +6,9 @@ > <ul> > <li> > [% IF ( available ) %] >- Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]">Show all items</a> >+ Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">Show all items</a> > [% ELSE %] >- <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]&limit=available">Limit to currently available items.</a> >+ <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]&limit=available">Limit to currently available items.</a> > [% END %] > </li> > </ul> >@@ -31,7 +31,7 @@ > <ul> > [% FOREACH facet IN facets_loo.facets %] > <li> >- <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]&limit=[% facet.type_link_value |uri %]:[% facet.facet_link_value |uri %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a> >+ <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]&limit=[% facet.type_link_value |url %]:[% facet.facet_link_value |url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a> > [% IF ( displayFacetCount ) %] > ([% facet.facet_count %]) > [% END %] >@@ -39,8 +39,8 @@ > [% END %] > [% IF ( facets_loo.expandable ) %] > <li class="showmore"> >- <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %][% IF ( offset ) %] >- &offset=[% offset |uri %][% END %]&expand=[% facets_loo.expand |uri %]#[% facets_loo.type_id |uri %]">Show more</a> >+ <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %][% IF ( offset ) %] >+ &offset=[% offset |url %][% END %]&expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a> > </li> > [% END %] > </ul> >-- >1.7.9.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 11277
:
23155
|
23495
|
23496
|
23558