8b685c1e80
The return from GetReservesFromBiblionumber contains an unnecessary extra variable. In scalar context an array returns its element count. Maintaining a separate count can lead to unforeseen bugs and imposes ugly constructions on the subroutine's users. Remove the useless count variable from the return This patch also changes the parameters: now the routine takes a hashref. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Placed biblio holds, future holds and item holds. Works as expected. Tested Holds.t and Reserves.t. Pass. Tested /cgi-bin/koha/ilsdi.pl?service=GetRecords&id=999 with two holds on one item. Fine. C4/SIP/ILS/Item.pm: Looked for "whatever" and "arrayref" and could not find them anymore. Looks good. Handled a few unneeded calls in QA follow-up. Left only one point to-do for serials/routing-preview.pl. See Bugzilla. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
Acquisition | ||
Circulation | ||
data | ||
Koha | ||
Labels | ||
LDAP | ||
Members | ||
Record | ||
Reports | ||
Serials | ||
www | ||
00-strict.t | ||
Accounts.t | ||
Acquisition.t | ||
Amazon.t | ||
Auth.t | ||
Auth_SearchHistorySession.t | ||
Auth_with_cas.t | ||
AuthoritiesMarc.t | ||
BackgroundJob.t | ||
Barcodes.t | ||
Biblio.t | ||
Bookseller.t | ||
Borrower_Debarments.t | ||
Branch.t | ||
Budgets.t | ||
Category.t | ||
check_sysprefs.t | ||
Circulation.t | ||
Circulation_Branch.t | ||
Circulation_issue.t | ||
Circulation_Issuingrule.t | ||
Circulation_issuingrules.t | ||
Circulation_OfflineOperation.t | ||
Circulation_transfers.t | ||
ClassSource.t | ||
Context.t | ||
CourseReserves.t | ||
Csv.t | ||
External_BakerTaylor.t | ||
Heading_MARC21.t | ||
Holds.t | ||
HoldsQueue.t | ||
Holidays.t | ||
ILSDI_Services.t | ||
Installer.t | ||
Items.t | ||
KitchenSinkPlugin.kpz | ||
Koha.t | ||
Koha_Authority.t | ||
Koha_borrower_modifications.t | ||
Koha_Database.t | ||
Koha_template_plugin_Branches.t | ||
Koha_template_plugin_KohaDates.t | ||
Languages.t | ||
Letters.t | ||
Linker_FirstMatch.t | ||
Log.t | ||
MarcModificationTemplates.t | ||
Members.t | ||
Members_columns.t | ||
PatronLists.t | ||
Plugins.t | ||
Ratings.t | ||
Record.t | ||
RecordProcessor_EmbedSeeFromHeadings.t | ||
Reports.t | ||
Reports_Guided.t | ||
ReportsGuided.t | ||
Reserves.t | ||
rollingloans.t | ||
RotatingCollections.t | ||
Search.t | ||
Search_SearchHistory.t | ||
Serials.t | ||
Serials_2.t | ||
Service.t | ||
ShelfBrowser.t | ||
SIP_ILS.t | ||
SQLHelper.t | ||
SuggestionEngine_ExplodedTerms.t | ||
Suggestions.t | ||
sysprefs.t | ||
Tags.t | ||
UploadedFile.t | ||
VirtualShelves.t | ||
VirtualShelves_Page.t | ||
XISBN.t | ||
zebra_config.pl |