Bugzilla – Attachment 97164 Details for
Bug 24371
OPAC 'Showing only available items/Show all items' is double encoded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24371: Fix "Show all items" avaibility link (use $raw filter)
Bug-24371-Fix-Show-all-items-avaibility-link-use-r.patch (text/plain), 2.04 KB, created by
Jonathan Druart
on 2020-01-10 08:57:08 UTC
(
hide
)
Description:
Bug 24371: Fix "Show all items" avaibility link (use $raw filter)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-10 08:57:08 UTC
Size:
2.04 KB
patch
obsolete
>From bcd0fd2ea577c32fe83ef837006ab0e24f8470dc Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 7 Jan 2020 18:54:49 +0000 >Subject: [PATCH] Bug 24371: Fix "Show all items" avaibility link (use $raw > filter) > >TO TEST: >1. Make an OPAC search with plenty of results. >2. Use the search facets to limit the search in some way, item type, author, etc. >3. Click on 'Limit to currently available items', everything is still fine. >4. Attempt to return to 'Show all items', there will be no search results. >5. Apply patch >6. Ateempt steps 1-4 again. >7. Should work this time. > >Signed-off-by: Rhonda Kuiper <rkuiper@roundrocktexas.gov> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 847ae0c211..d92bf4a105 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -9,7 +9,7 @@ > <ul> > <li> > [% IF ( available ) %] >- <strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | uri %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]">Show all items</a> >+ <strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]">Show all items</a> > [% ELSE %] > <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by |uri %][% END %]&limit=available">Limit to currently available items.</a> > [% END %] >-- >2.11.0
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 24371
:
96953
|
97060
| 97164 |
97165