Bugzilla – Attachment 4493 Details for
Bug 6510
"Sort by" in intranet search alters search and number of hits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-6510-Sort-by-in-intranet-search-alters-search-an.patch (text/plain), 1.07 KB, created by
Magnus Enger
on 2011-06-16 10:51:16 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-06-16 10:51:16 UTC
Size:
1.07 KB
patch
obsolete
>From 310592684e373be465873cbbe3d333fe6881de87 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Thu, 16 Jun 2011 12:41:30 +0200 >Subject: [PATCH] Bug 6510 - Sort by in intranet search alters search and number of hits > >To test: >- In advanced search in the intranet choose Author as the search index >- Do a search for an author, check the number of hits >- Choose another value than the default from Sort by >- Check that the number of hits is the same as for the original search, once > the hits have been re-ordered >--- > catalogue/search.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/catalogue/search.pl b/catalogue/search.pl >index a41b18a..35c2a8a 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -471,7 +471,7 @@ my $scan_index_to_use; > > for my $this_cgi ( split('&',$query_cgi) ) { > next unless $this_cgi; >- $this_cgi =~ m/(.?)=(.*)/; >+ $this_cgi =~ m/(.*)=(.*)/; > my $input_name = $1; > my $input_value = $2; > push @query_inputs, { input_name => $input_name, input_value => $input_value }; >-- >1.7.4.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 6510
:
4493
|
4494
|
4499