[Koha-bugs] [Bug 12261] Staff client next/previous links lead to unknown record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 25 10:54:59 CEST 2014


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

--- Comment #15 from Juhani Seppälä <jseppal at student.uef.fi> ---
Created attachment 29207
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29207&action=edit
Staff client next/previous links lead to unknown record

When using Staff client next/previous links after a search :
If the current record is the last of the results, clicking on "next" will lead
to the page of an unknown record with message :

The record you requested does not exist (NaN).

To test:
1) Do an intranet catalog search that has more than 1 results.
2) Click on the last search result and then click the "Next"-button from the
top-left navigation.
3) Confirm that you get thrown to a page with the message: "The record you
requested does not exist (NaN).".
4) Apply patch.
5) Do an intranet search with more than 1 but less results than fit on a single
page.
6) Click on the last result on the page and confirm that the "Next" navigation
button is greyd out.
6) Do an intranet search with multi-page search results.
7) Click on the last result of a page that's not the final page of the results
& confirm that "Next" is not grey out.
8) Navigate to the last page of the results and click on the final result &
confirm that "Next" is greyd out.

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


More information about the Koha-bugs mailing list