Bug 28074: Make current_search.offset an integer instead of string
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 1 Apr 2021 22:51:07 +0000 (22:51 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Apr 2021 10:42:58 +0000 (12:42 +0200)
commit9e4388038350e2651dbc4aaa0c782503b83dc71c
treee96471d9aabd94c87220fb5764f3250eb8b25cf6
parentf960191c622144908b937b38ffa1ca6452c972ca
Bug 28074: Make current_search.offset an integer instead of string

To test:
1. Do a search with 3-4 results, go to the record and use the browse
   controls, when you get to the last record if you attempt to go to the
   'next' you'll end up on a page which says 'record not found.'
2. Do a search with exactly 10 results. Click on the first record, the
   'next' arrow is not a link, you cannot move to the next result.
3. Apply patch
4. Repeat steps 1-2 and the problems should be gone.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5787203a708429bfb746dfa16cfa6fee75a8714a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/js/browser.js