[Mpuls-commits] r5478 - wasko/trunk/waskoweb/public/xml

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 17 10:49:52 CEST 2011


Author: ludwig
Date: 2011-10-17 10:49:49 +0200 (Mon, 17 Oct 2011)
New Revision: 5478

Modified:
   wasko/trunk/waskoweb/public/xml/eval_weitere.xml
Log:
Issue 508: Changed the evals to work in the empty case.


Modified: wasko/trunk/waskoweb/public/xml/eval_weitere.xml
===================================================================
--- wasko/trunk/waskoweb/public/xml/eval_weitere.xml	2011-10-14 19:15:12 UTC (rev 5477)
+++ wasko/trunk/waskoweb/public/xml/eval_weitere.xml	2011-10-17 08:49:49 UTC (rev 5478)
@@ -384,8 +384,8 @@
     </xdim>
     <ydim>
       <label>Dauer (Tage)</label>
-      <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+      <field>(select DISTINCT 1) as anzahl</field>
+      <table>(Select DISTINCT 1 as id, 'Gesamt' as value)</table>
       <join>anzahl</join>
     </ydim>
   </evaluation>
@@ -424,8 +424,8 @@
     </xdim>
     <ydim>
       <label>Dauer (Tage)</label>
-      <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+      <field>(select DISTINCT 1) as anzahl</field>
+      <table>(select DISTINCT 1 as id, 'Gesamt' as value)</table>
       <join>anzahl</join>
     </ydim>
   </evaluation>
@@ -464,8 +464,8 @@
     </xdim>
     <ydim>
       <label>Dauer (Tage)</label>
-      <field>(select DISTINCT 1 from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT 1 as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
+      <field>(select DISTINCT 1) as anzahl</field>
+      <table>(select DISTINCT 1 as id, 'Gesamt' as value)</table>
       <join>anzahl</join>
     </ydim>
   </evaluation>



More information about the Mpuls-commits mailing list