From 7e7777c46d2e662debac0591b0c97277f59b41ce Mon Sep 17 00:00:00 2001
From: Thomas Misilo <misilot@users.noreply.github.com>
Date: Wed, 25 May 2016 10:23:08 -0400
Subject: [PATCH] Remove Stock Number check in getNewItems() (#712)

Remove stock number check in getNewItems().
- Function now performs as expected.
---
 module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
index a5339963ec4..2eafb2c98a4 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
@@ -859,7 +859,6 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
         $sql = "SELECT distinct biblionumber as id
                 FROM items
                 WHERE itemlost = 0
-                   and stocknumber > 1
                    and dateaccessioned > DATE_ADD(CURRENT_TIMESTAMP,
                       INTERVAL -$daysOld day)
                 ORDER BY dateaccessioned DESC";
-- 
GitLab