Bugzilla – Attachment 34602 Details for
Bug 13442
Facet links broken when collection code limit is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13442 - Facet links broken when collection code limit is used
PASSED-QA-Bug-13442---Facet-links-broken-when-coll.patch (text/plain), 1.65 KB, created by
Katrin Fischer
on 2014-12-19 20:34:51 UTC
(
hide
)
Description:
[PASSED QA] Bug 13442 - Facet links broken when collection code limit is used
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-12-19 20:34:51 UTC
Size:
1.65 KB
patch
obsolete
>From 87e865d4e1ceb7927708f21dc4a74a6acd9cb7ba Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 11 Dec 2014 09:47:01 -0500 >Subject: [PATCH] [PASSED QA] Bug 13442 - Facet links broken when collection > code limit is used >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Any search limits including a ccode will break the search facts. > >Test Plan: >1) Run an advanced search using a ccode limit >2) Try using any of the facet links of the left >3) Note they are broken >4) Apply this patch >5) Refresh the results >6) Note the facet links are no longer broken > >Note: I have not been able to reproduce this issue on my own test >system, but have noted the problem on at least a dozen Koha servers. > >I could not reproduce the bug either, but I saw it on the Bywater Demo (comment #1). >Applied patch and tested facets, no problems found, signing off >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Can not reproduce the problem, but I can also not find a regression. >--- > C4/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 1326f69..c7577b4 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1705,7 +1705,7 @@ sub buildQuery { > if ( $k !~ /mc-i(tem)?type/ ) { > # in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes > $this_limit =~ tr/"//d; >- $this_limit = $k.":\"".$v."\""; >+ $this_limit = $k.":'".$v."'"; > } > > $group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; >-- >1.9.1
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 13442
:
34331
|
34594
| 34602