[open-ils-commits] r16433 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 13 17:32:02 EDT 2010
Author: erickson
Date: 2010-05-13 17:31:56 -0400 (Thu, 13 May 2010)
New Revision: 16433
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
repaired some IDL typos w/ hold/copy ration view
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2010-05-13 21:07:16 UTC (rev 16432)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2010-05-13 21:31:56 UTC (rev 16433)
@@ -7079,7 +7079,7 @@
</oils_persist:source_definition>
<fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
<field reporter:label="Record ID" name="id" reporter:datatype="id"/>
- <field reporter:label="Delete Date/Time" name="copy_delete_date" reporter:datatype="timestamp"/>
+ <field reporter:label="Delete Date/Time" name="last_delete_date" reporter:datatype="timestamp"/>
</fields>
<links>
<link field="id" reltype="has_a" key="id" map="" class="bre"/>
@@ -7104,7 +7104,7 @@
-- COALESCE( z.copy_hold_ratio, 0 ) AS "hold_copy_ratio"
-- FROM (
SELECT
- y.bre AS "bib_id",
+ y.bre AS "id",
COALESCE( x.copy_count, 0 ) AS "copy_count",
y.hold_count AS "hold_count",
(y.hold_count::REAL / (CASE WHEN x.copy_count = 0 OR x.copy_count IS NULL THEN 0.1 ELSE x.copy_count::REAL END)) AS "hold_copy_ratio"
@@ -7137,7 +7137,7 @@
-- FROM biblio.record_entry
-- WHERE NOT deleted
-- )bre ON (z.bib_id = bre.id)
- ;
+
</oils_persist:source_definition>
<fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
More information about the open-ils-commits
mailing list