[Koha-bugs] [Bug 14715] results per page setting for catalog search in staff client and opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 25 11:02:52 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14715

--- Comment #23 from Jokin Perez de Viñaspre <jokin.lana at gmail.com> ---
Hi!

Yes, I runned updatedatabase.pl

To solve the problem of pagination I change one line in
a/opac/opac-search.pl(line 527) and a/catalogue/search.pl(line 456) of your
patch

my $offset = $results_per_page != 'all' ? ($page-1)*$results_per_page : 0;
to: 
my $offset = $params->{'offset'} || 0;

With that change works fine.

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


More information about the Koha-bugs mailing list