Closed nicolasfranck closed 3 years ago
I can't reproduce this with the latest Catmandu (1.2013).
cf. https://github.com/LibreCat/Catmandu/blob/dev/lib/Catmandu/Paged.pm#L130 cf. https://github.com/LibreCat/Catmandu/blob/dev/lib/Catmandu/Paged.pm#L139
If you set limit to zero, then these lines should fail, not?
You're right, I only tried out your example, which doesn't die.
resolved in 604b5d973a6cc4ea382da98b79384e7ccfcef996
@nics nice ;-)
returns:
This happens when you call
$hits->page
or$hits->last_page
.