Bug 23537: Overdrive won't show complete results at all times
authorLiz Rea <wizzyrea@gmail.com>
Wed, 4 Sep 2019 02:10:21 +0000 (02:10 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Sep 2019 10:05:19 +0000 (11:05 +0100)
commit98e4b5c04a1f89fb168fbc6e7dc40f374cb40ad1
treee7398bd678587f6a8a5bf69f3975864263b0ddcd
parent3f7d15b7f6baec1d6313c7ea5d81961289cac169
Bug 23537: Overdrive won't show complete results at all times

To test:

On an overdrive enabled OPAC (tough sell, I know)

    Do a search for something you know has magazines, the collection I
    was looking at had "knit" as one

    Without this patch, the results will show "(many) items found in
    overdrive collection" but only show a small number of them.

    With the patch, the number of results should match the number
    shown/paginated.

    A site that has this fix applied, is
    https://tracy.bywatersolutions.com/cgi-bin/koha/opac-overdrive-search.pl?q=knit

    Before this patch, the number of results was 44, but there were only
    8 shown. Now we see all 44

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt