[Koha-bugs] [Bug 22830] correct for loop in value_builder/unimarc_field_4XX.pl value_builder

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 31 18:45:05 CEST 2019


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89232|0                           |1
        is obsolete|                            |

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 91896
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91896&action=edit
Bug 22830: correct for loop in value_builder/unimarc_field_4XX.pl value_builder

In value_builder/unimarc_field_4XX.pl value_builder gets search results and
runs a for loog with $i index.
This loop is limiter with number of results par page, it should also be limited
by number of results if lower that number of results par page.

Same in cataloguing/value_builder/marc21_linking_section.pl.

Test plan :
1) configure framework to use value builder
2) use value builder
3) perform a search with number of results lower than number of results par
page
4) check number of records diplayed is OK
5) perform a search with number of results upper than number of results par
page and check number of results is OK
6) you see number of results par page records and pagination link

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list