[Koha-bugs] [Bug 29859] New: Favor iterators over as_list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 14:55:21 CET 2022


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

            Bug ID: 29859
           Summary: Favor iterators over as_list
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 29844

On bug 29844 we decided to remove wantarray from Koha::Objects->search.
Reviewing the difference occurrences I found some unnecessary uses of
->as_list, where iterators should be used instead.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29844
[Bug 29844] Remove uses of wantarray in Koha::Objects
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list