Koha/C4
Jonathan Druart d02e91f269 Bug 29859: Use iterator instead of as_list
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.

This patch only removes the obvious places, not the tricky ones.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-09 15:36:23 -10:00
..
AuthoritiesMarc
Barcodes Bug 29689: (bug 28445 follow-up) Fix AutoBarcode=hbyymmincr 2022-01-03 21:37:40 -10:00
ClassSortRoutine
ClassSplitRoutine
Creators
External
Form
Heading
ILSDI Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Installer
Labels
Linker
Members
OAI
Output
Patroncards Bug 25459: Makes barcode position respect units in patron cards layout 2021-11-02 16:50:01 +01:00
Reports Bug 27884: Add html support for report mails 2021-11-02 16:50:01 +01:00
Search
Serials
SIP Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Utils Bug 28959: Add virtualshelves.public as a boolean 2021-10-28 17:47:38 +02:00
Accounts.pm
Acquisition.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Auth.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Auth_cas_servers.yaml.sample
Auth_with_cas.pm Bug 28417: Don't require C4::Auth_with_cas from opac-user if not needed 2021-11-03 15:40:52 +01:00
Auth_with_ldap.pm
Auth_with_shibboleth.pm
AuthoritiesMarc.pm Bug 27173: Add plugin hooks for authority record changes 2021-11-03 15:40:52 +01:00
BackgroundJob.pm
Barcodes.pm
Biblio.pm Bug 27266: Move GetMarcAuthors to Koha namespace 2021-12-15 12:15:03 -10:00
Breeding.pm Bug 29391: Improve output of reservoir search 2022-01-09 21:04:17 -10:00
Budgets.pm
Calendar.pm
Charset.pm Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
Circulation.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
ClassSortRoutine.pm
ClassSource.pm
ClassSplitRoutine.pm
Context.pm
Contract.pm
CourseReserves.pm
Creators.pm
Heading.pm Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
HoldsQueue.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
HTML5Media.pm Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
ImportBatch.pm Bug 29788: Make Koha::Item->safe_to_delete use Koha::Result::Boolean 2022-01-11 12:38:35 -10:00
ImportExportFramework.pm
InstallAuth.pm
Installer.pm Bug 26326: (follow-up) Add ability to check for existence of any primary key 2021-11-03 15:40:52 +01:00
ItemCirculationAlertPreference.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Items.pm Bug 29844: Some more uncaught cases 2022-02-09 15:36:23 -10:00
Koha.pm
Labels.pm
Languages.pm
Letters.pm Bug 29330: (QA follow-up) Change to message/rfc822 2021-11-15 12:38:39 +01:00
Linker.pm
Log.pm Bug 28692: (QA follow-up) Fix test for objects 2021-11-16 14:00:20 +01:00
MarcModificationTemplates.pm
Matcher.pm
Members.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Message.pm
Output.pm
Overdues.pm Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
Patroncards.pm
Record.pm Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
Reports.pm
Reserves.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Ris.pm
RotatingCollections.pm
Scheduler.pm
Scrubber.pm
Search.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Serials.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Service.pm
ShelfBrowser.pm
SMS.pm
SocialData.pm
Stats.pm
Suggestions.pm Bug 28855: Purging suggestions test should not be on timestamp 2021-12-15 12:14:47 -10:00
Tags.pm
Templates.pm
TmplToken.pm
TmplTokenType.pm
TTParser.pm
UsageStats.pm Bug 5229: Remove system preference 'OPACItemsResultsDisplay' 2021-11-19 15:23:27 +01:00
XISBN.pm
XSLT.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00