]> git.koha-community.org Git - koha.git/commit
Bug 13205: [FOLLOW-UP] Fixing math and variable names
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 10 Jul 2017 00:07:38 +0000 (00:07 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:15:49 +0000 (16:15 -0300)
commit69ee06a490a64985dfccd01cf689ae77eea1d2d5
tree5e11ce1545e8d8c217709dc25bb1dee637888dc2
parent5fc0a1f5b1ad58b4fa0a538cef5d2106fd39c71a
Bug 13205: [FOLLOW-UP] Fixing math and variable names

Have changed
  my $last_page = $pages * ( $results_per_page - 1 );
to
  my $last_page = ( $pages - 1) * $results_per_page;
which seems to fix the 'last' button offset! (Comment 10)

Will add the box to jump to a page in a separate patch.
Adding the pagination to the top on the staff client will be dealt with
in Bug 18916 as it is slightly out of the scope of this bug.

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc
opac/opac-search.pl