Koha/serials
Jonathan Druart 8b685c1e80 Bug 9823: Refactor return from GetReservesFromBiblionumber
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>
2014-01-30 16:19:55 +00:00
..
acqui-search-result.pl Bug 10723: Merge GetPendingOrders and SearchOrders routines 2013-10-21 18:24:32 +00:00
acqui-search.pl Cherry-picked onto master, fixing conflicts: MT 1816: Granular permissions for the serials module 2010-06-19 07:23:46 -04:00
checkexpiration.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
claims.pl Bug 10429: improve display of library and library filter on serials claim page 2014-01-06 15:33:28 +00:00
create-numberpattern.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
lateissues-export.pl Bug 7298: (follow-up) various QA fixes 2013-10-31 15:51:25 +00:00
member-search.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
reorder_members.pl Bug 6296: allow users to be authenticated by SSL client certs 2012-03-19 17:02:44 +01:00
routing-preview.pl Bug 9823: Refactor return from GetReservesFromBiblionumber 2014-01-30 16:19:55 +00:00
routing.pl bug 10365: change routing slips to use date published rather than planned date 2013-10-10 23:38:11 +00:00
serial-issues.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
serials-collection.pl Bug 11214: improve create/edit routing list links in serial collection page 2013-11-27 18:23:54 +00:00
serials-edit.pl Bug 8435: add permission to enable editing other library's serials if IndependantBranches is on 2013-10-31 15:27:19 +00:00
serials-home.pl Bug 5357: Adds a new page for searching subscriptions 2012-09-18 22:37:11 +02:00
serials-recieve.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-10-30 00:29:38 +00:00
serials-search.pl Bug 10852: serials search improvements 2013-12-14 00:34:30 +00:00
showpredictionpattern.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
statecollection.pl Cherry-picked onto master, fixing conflicts: MT 1816: Granular permissions for the serials module 2010-06-19 07:23:46 -04:00
subscription-add.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
subscription-bib-search.pl Bug 11091: (follow-up) perltidy on serials/subscription-bib-search.pl 2013-12-05 16:15:26 +00:00
subscription-detail.pl Bug 8435: add permission to enable editing other library's serials if IndependantBranches is on 2013-10-31 15:27:19 +00:00
subscription-frequencies.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-frequency.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-history.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-numberpattern.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-numberpatterns.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-renew.pl bug 10728: fix additional log noise generated by subscription-renew.pl 2013-08-19 14:10:38 +00:00
viewalerts.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00