From: miker Date: Tue, 9 Feb 2010 14:25:22 +0000 (+0000) Subject: logic thinko in last-copy-deleted IDL view X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1d3a129389232e58ff69991ee352c13e6c241657;p=evergreen%2Fmasslnc.git logic thinko in last-copy-deleted IDL view git-svn-id: svn://svn.open-ils.org/ILS/trunk@15479 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 961f049311..8f3a37cd2a 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -6256,7 +6256,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA JOIN asset.copy dcp ON (cn.id = dcp.call_number) WHERE NOT b.deleted GROUP BY b.id - HAVING SUM( CASE WHEN dcp.deleted THEN -1 ELSE 0 END) < 0 + HAVING SUM( CASE WHEN NOT dcp.deleted THEN 1 ELSE 0 END) = 0