Bug 10452: (follow-up) remove duplicate check of damaged status
authorGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 18:13:16 +0000 (18:13 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 May 2014 14:22:03 +0000 (16:22 +0200)
commit72050540e6f39e17dfb41d9654fe31805cc13d32
treec7f35c8d215b60b4cfbf3363531a265fdfbd95c9
parent1c9e96388c61a81f66bd057cfe0f03cefaf00a1c
Bug 10452: (follow-up) remove duplicate check of damaged status

While reviewing the main patch for this bug to verify that the
holds queue routines and C4::Reserves had the same conception of
when a damaged item could fill a hold request, I noticed that
GetItemsAvailableToFillHoldRequestsForBib() duplicated the code
for adding an SQL clause to filter out damaged items.  This patch
removes the duplication and improves the POD for that routine.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 67d3985929d70b67e64d5f0c275109b109065d2d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/HoldsQueue.pm