Bugzilla – Attachment 3895 Details for
Bug 6170
'More options' in advanced search broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for 3.2 and master
0001-Bug-6170-Do-not-prematurely-group-results.patch (text/plain), 1.05 KB, created by
Colin Campbell
on 2011-04-12 12:30:22 UTC
(
hide
)
Description:
Proposed patch for 3.2 and master
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2011-04-12 12:30:22 UTC
Size:
1.05 KB
patch
obsolete
>From 8ccd39b735c6b5dda657eb944892f1003675d26e Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Tue, 12 Apr 2011 13:22:18 +0100 >Subject: [PATCH] Bug 6170: Do not prematurely group results >Content-Type: text/plain; charset="utf-8" > >If OPACGroupResults preference was set it was >shortcircuiting the template selection logic and >we didn't go to the advanced options field >--- > opac/opac-search.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index 587846b..faa8a25 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -65,7 +65,7 @@ my $build_grouped_results = C4::Context->preference('OPACGroupResults'); > if ($format =~ /(rss|atom|opensearchdescription)/) { > $template_name = 'opac-opensearch.tmpl'; > } >-elsif ($build_grouped_results) { >+elsif (@params && $build_grouped_results) { > $template_name = 'opac-results-grouped.tmpl'; > } > elsif ((@params>=1) || ($cgi->param("q")) || ($cgi->param('multibranchlimit')) || ($cgi->param('limit-yr')) ) { >-- >1.7.4.2 >
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 6170
:
3895
|
3898
|
3899
|
3901
|
3902
|
3903
|
3904
|
4127
|
4180