Summary: | numSearchRSSResults doesn't work | ||
---|---|---|---|
Product: | Koha | Reporter: | Noémie Labine <noemie.labine> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | fridolin.somers |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Noémie Labine
2023-11-14 21:14:30 UTC
I can't reproduce this issue. Both OPACnumSearchResults and numSearchRSSResults seem to be working as they should. Mmm looks like $countRSS is only used to add in template vars : https://git.koha-community.org/Koha-community/Koha/src/commit/1eb4e5c2875b0765d05bef24b7a66141d9d8d98b/opac/opac-search.pl#L464 my $count = C4::Context->preference('OPACnumSearchResults') || 20; my $countRSS = C4::Context->preference('numSearchRSSResults') || 50; my $results_per_page = $params->{'count'} || $count; $results_per_page will likely comme from OPACnumSearchResults |