[Mpuls-commits] r2098 - in wasko/branches/2.0/mpulsweb/public: . xml

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 24 12:48:51 CET 2010


Author: torsten
Date: 2010-03-24 12:48:50 +0100 (Wed, 24 Mar 2010)
New Revision: 2098

Added:
   wasko/branches/2.0/mpulsweb/public/xml/
   wasko/branches/2.0/mpulsweb/public/xml/eval_default.xml
Log:
* mpulsweb/public/xml/eval_default.xml: New. Default evaluation for
mpuls. Just count total amount of cases along the different phases.


Added: wasko/branches/2.0/mpulsweb/public/xml/eval_default.xml
===================================================================
--- wasko/branches/2.0/mpulsweb/public/xml/eval_default.xml	2010-03-24 09:29:11 UTC (rev 2097)
+++ wasko/branches/2.0/mpulsweb/public/xml/eval_default.xml	2010-03-24 11:48:50 UTC (rev 2098)
@@ -0,0 +1,28 @@
+<evaluationset>
+  <id>0</id>
+  <version>1.0</version>
+  <name>Vorgabeauswertung</name>
+  <desc>Einfache Auszählung der Gesamtanzahl der Fallakten</desc>
+  <evaluation>
+    <id>1</id>
+    <name>Gesamtzahl</name>
+    <desc>Zeigt die Gesamtanzahl der Fälle in der Datenbank an.</desc>
+    <basequery>
+      <table>master_tbl_eval_total_view</table>
+      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
+      <where>(TRUE)</where>
+    </basequery>
+    <xdim>
+      <label>Phase</label>
+      <field>phase</field>
+      <table>( select * from phase_tbl)</table>
+      <join>phase</join>
+    </xdim>
+    <ydim>
+      <label>Gesamtzahl Teilnehmer</label>
+      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
+      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+      <join>anzahl</join>
+    </ydim>
+  </evaluation>
+</evaluationset>



More information about the Mpuls-commits mailing list