Bugzilla – Attachment 21965 Details for
Bug 10829
Browse across pages breaks for authority searches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10829 - Browse across pages breaks for authority searches
Bug-10829---Browse-across-pages-breaks-for-authori.patch (text/plain), 2.31 KB, created by
Biblibre Sandboxes
on 2013-10-11 13:18:28 UTC
(
hide
)
Description:
Bug 10829 - Browse across pages breaks for authority searches
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2013-10-11 13:18:28 UTC
Size:
2.31 KB
patch
obsolete
>From 1157ece97a7443807e144ef00a65d7f5c11499c2 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 5 Sep 2013 15:49:55 +0100 >Subject: [PATCH] Bug 10829 - Browse across pages breaks for authority searches > >Test plan >1. Do an authority search in the OPAC (A search for 'an:49' perhaps.. >that should bring up results for authority number 49, hopefully there >are multiple pages of results, if not try again and find one that >gives you multiple pages of results) >2. Click the final result on any page of results (there must be more >results to follow for this to work) >3. Try clicking the 'Next' button in the 'Browse results' pane on >the right of the page. >4. It should take you to the next result in the search list (i.e >the first result from the next page of results) - Double check it is >correct, we found that it was often not. > >5. Apply patch and run same process, this time you should get the >correct paging. > >Signed-off-by: Koha Team Amu <koha.aixmarseille@gmail.com> >--- > opac/opac-detail.pl | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index d805d66..5bbf0fb 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -154,6 +154,7 @@ if ($session->param('busc')) { > > my $expanded_facet = $arrParamsBusc->{'expand'}; > my $branches = GetBranches(); >+ my $itemtypes = GetItemTypes; > my @servers; > @servers = @{$arrParamsBusc->{'server'}} if $arrParamsBusc->{'server'}; > @servers = ("biblioserver") unless (@servers); >@@ -164,7 +165,7 @@ if ($session->param('busc')) { > $sort_by[0] = $default_sort_by if !$sort_by[0] && defined($default_sort_by); > my ($error, $results_hashref, $facets); > eval { >- ($error, $results_hashref, $facets) = getRecords($arrParamsBusc->{'query'},$arrParamsBusc->{'simple_query'},\@sort_by,\@servers,$results_per_page,$offset,$expanded_facet,$branches,$arrParamsBusc->{'query_type'},$arrParamsBusc->{'scan'}); >+ ($error, $results_hashref, $facets) = getRecords($arrParamsBusc->{'query'},$arrParamsBusc->{'simple_query'},\@sort_by,\@servers,$results_per_page,$offset,$expanded_facet,$branches,$itemtypes,$arrParamsBusc->{'query_type'},$arrParamsBusc->{'scan'}); > }; > my $hits; > my @newresults; >-- >1.7.2.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 10829
:
20803
|
21965
|
22314