[Koha-bugs] [Bug 8293] Software error when clicking on first or last result of each page on OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 8 16:45:38 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8293

Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |fridolyn.somers at biblibre.co
                   |ity.org                     |m

--- Comment #1 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 11446
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11446&action=edit
Proposed patch

Very small patch for a big bug.

Some have this error message :
Software error:
Can't call method "data" on an undefined value at /home/kokha/src/C4/Search.pm
line 1505.

The problem appears in the 'searchAgain' function in opac-detail.pl.
This function is called only on a detail page that is at the end or the
begining of a result page.

So :
In opac-detail.pl, in searchResults method call :
The zebra results are used in a hash instead of an array (see opac-results.pl).
+ The parameter giving hidelostitems syspref is useless, this syspref is
managed into method.

Please test and signoff.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list