Bugzilla – Attachment 11446 Details for
Bug 8293
Software error when clicking on first or last result of each page on OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
Bug-8293-Software-error-when-clicking-on-first-or-la.patch (text/plain), 1.12 KB, created by
Fridolin Somers
on 2012-08-08 14:45:38 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-08-08 14:45:38 UTC
Size:
1.12 KB
patch
obsolete
>From 19246d73a1723ab034c5124b817369dc75c199ae Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 8 Aug 2012 16:34:32 +0200 >Subject: [PATCH] Bug 8293: Software error when clicking on first or last > result of each page on OPAC > >--- > opac/opac-detail.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 0bafabd..623e025 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -157,8 +157,7 @@ if ($session->param('busc')) { > for (my $i=0;$i<@servers;$i++) { > my $server = $servers[$i]; > $hits = $results_hashref->{$server}->{"hits"}; >- my @records = $results_hashref->{$server}->{"RECORDS"}; >- @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, \@records,, C4::Context->preference('hidelostitems')); >+ @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, $results_hashref->{$server}->{"RECORDS"}); > } > return \@newresults; > }#searchAgain >-- >1.7.9.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 8293
:
11446
|
11787
|
11790
|
11934
|
11946