Main Koha release repository https://koha-community.org
Find a file
Juhani Seppälä 3e0e65ca10 Bug 12481: Staff client detail-view "next" link is greyed out when the last search result of any results page is clicked or navigated into
When doing a staff client catalog search with more than 1 page of results
and clicking the last result on any search result page, the top-left navigation
button for "next" is greyed out.

Tested on newest Firefox & Chromium. Attempts to restore originally planned checks for navigation
with the exception of not using results.length due to buggy behaviour where the results get concatenated
upon page reload & "return to results" navigation - a separate issue?

To test:
1) Do an intranet catalog search that has more than 1 page of results.
2) Click on the last result on a page that is not the last one & confirm that the navigation button "next" is greyed out.
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 greyed out.
6) Do an intranet search with more than 1 page of 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.

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

This patch prevents the "Next" button on detail view to be grayed out at the end of e result page.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-03 09:52:33 -03:00
acqui Bug 11715: require authentication for various staff scripts 2014-06-25 12:27:08 -03:00
admin Bug 12454: Can't add new patron categories 2014-06-20 19:26:14 -03:00
authorities Bug 10862: Add search history to the intranet interface 2014-05-05 03:06:33 +00:00
basket Bug 12065: use encode_qp consistently when sending basket/shelf 2014-05-09 15:14:40 +00:00
C4 BUG 12304: LDAP auto-provisioning set default messaging preferences 2014-07-02 15:17:35 -03:00
catalogue Bug 11826: Use XSLT handler object in showmarc, Record.pm 2014-05-26 03:52:45 +00:00
cataloguing Bug 11715 : require authentication for the cataloging authorities Z39.50 search 2014-06-25 12:26:50 -03:00
circ Bug 11629: (follow-up) Add message for librarian that status was updated 2014-05-26 03:23:37 +00:00
course_reserves Bug 11866: (follow-up) repair security issue introduced by main patch 2014-03-10 14:57:17 +00:00
debian Bug 8566: [SIGNED-OFF] Enable koha-foreach to insert the instancename into commands 2014-07-02 15:45:25 -03:00
docs Bug 7143: Updating new developers 2014-06-30 10:01:52 -03:00
errors
etc Bug 9612: (follow-up) restore elementSetName in Context.pm 2014-05-19 16:46:57 +00:00
install_misc Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
installer Bug 12361 - No default value for opaccolorstylesheet syspref 2014-06-30 10:05:19 -03:00
Koha Bug 12462: Fix some POD errors 2014-06-22 19:56:37 -03:00
koha-tmpl Bug 12481: Staff client detail-view "next" link is greyed out when the last search result of any results page is clicked or navigated into 2014-07-03 09:52:33 -03:00
labels Bug 8375: Use TrueType fonts in PDF::Reuse 2014-05-05 21:53:18 +00:00
members Bug 9811: Various fixes 2014-07-01 09:59:09 -03:00
misc Bug 12396 - MTT FIX: Due notices (DUEDGST) are multiplicated and all of them are sent to everybody who is about to receive ODUEDGST. 2014-06-15 11:14:45 -03:00
offline_circ
opac Bug 12041 - improve Koha::Cache 2014-06-19 13:05:04 -03:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 11715: require authentication for various staff scripts 2014-06-25 12:27:08 -03:00
reserve Bug 11801: In transit hold items incorrectly labels as "Waiting to be pulled" on request.pl 2014-06-18 15:40:47 -03:00
reviews
rotating_collections
selenium
serials Bug 11715: require authentication for various staff scripts 2014-06-25 12:27:08 -03:00
services Bug 11715: require authentication for various staff scripts 2014-06-25 12:27:08 -03:00
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
sms Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
suggestion Bug 4068: (follow-up) use URI::Escape 2014-05-08 16:36:10 +00:00
svc Bug 9811 - datetime does not respect DateFormat-system prefrence 2014-07-01 09:58:11 -03:00
t Bug 12456: The file C4/Maintainance.pm, and by extension the file t/Maintainance.t, has been removed 2014-07-02 15:16:51 -03:00
tags
test
tmp/modified_authorities
tools Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
virtualshelves Bug 12065: use encode_qp consistently when sending basket/shelf 2014-05-09 15:14:40 +00:00
xt Bug 12041 - POD fixing followup 2014-06-19 13:05:15 -03:00
.htaccess
.mailmap Bug 12479: (QA followup) minor fixes, and tcohen added 2014-06-30 10:04:10 -03:00
about.pl Bug 11596: report warnings on the about patch if indexing options in koha-conf.xml are missing 2014-04-20 17:07:04 +00:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.opensuse Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 11169: DBRev 3.17.00.008 2014-06-15 11:27:20 -03:00
LICENSE
mainpage.pl Bug 7567 - Use, display, filter News by library 2014-04-07 18:14:19 +00:00
Makefile.PL Bug 10729: Add phrases configuration for ICU 2014-05-05 04:10:57 +00:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 10729: Add phrases configuration for ICU 2014-05-05 04:10:57 +00:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/