[Koha-bugs] [Bug 23426] Empty AV field returned in Patron Info in addition to those requested

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 5 15:22:23 CEST 2019


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

Colin Campbell <colin.campbell at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |colin.campbell at ptfs-europe.
                   |ity.org                     |com

--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
Created attachment 91992
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91992&action=edit
Patch correcting extraction of items

Patch to convert start and end to zero based offsets consistently, and use end
as terminus condition for the for loop using them.

To test, unpatched an extra AV field is returned with the patch applied the
correct number is returned (start and end are sequence numbers based on 1 and
indicating the first and last item to be returned)

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


More information about the Koha-bugs mailing list