[Koha-bugs] [Bug 9824] Hide basket with no expected items in basqket list by bookseller

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 15 11:19:39 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9824

--- Comment #21 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hm I have done some research. The change discussed here was made when the
result list for vendors was redone and GetBasketsInfosByBookseller was
introduced
(http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=d09e428a7dc9854c6f4e45f3caade3c8e141b79d):

The old list of baskets was created using following condition:
-where booksellerid = ?
-AND ( aqorders.quantity > aqorders.quantityreceived OR quantityreceived IS
NULL)
-AND datecancellationprinted IS NULL

The new sub uses:
+        WHERE booksellerid = ?

The change proposed in the patch just restores the original condition:
+        WHERE booksellerid = ? 
AND ( aqorders.quantity > aqorders.quantityreceived OR quantityreceived IS
NULL)
+         AND datecancellationprinted IS NULL

I know that the patch was pushed a while ago, but since we are still using
3.6.x in some libraries, this means a major change for them. Is there a chance
we can agree on a solution here?

I am in favor of restoring the original behaviour for now and using the search
to find other older baskets.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list