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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 13:56:30 +0000 (15:56 +0200)
commit5787203a708429bfb746dfa16cfa6fee75a8714a
tree8e2cd0766f95447c873071bce59d048ae8afb5db
parent8a6bb8c6cddbb5b9e7458d6c923f6818794528bb
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>
koha-tmpl/intranet-tmpl/js/browser.js