[open-ils-commits] r15479 - trunk/Open-ILS/examples (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 9 09:25:24 EST 2010
Author: miker
Date: 2010-02-09 09:25:22 -0500 (Tue, 09 Feb 2010)
New Revision: 15479
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
logic thinko in last-copy-deleted IDL view
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2010-02-09 03:22:26 UTC (rev 15478)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2010-02-09 14:25:22 UTC (rev 15479)
@@ -6256,7 +6256,7 @@
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
</oils_persist:source_definition>
<fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
More information about the open-ils-commits
mailing list