[Mpuls-commits] r5200 - waska/trunk/waskaweb/public/xml
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 27 14:56:13 CEST 2011
Author: torsten
Date: 2011-07-27 14:56:13 +0200 (Wed, 27 Jul 2011)
New Revision: 5200
Modified:
waska/trunk/waskaweb/public/xml/eval_weitere.xml
Log:
Fehlerkorrektur bei der Berechung der Verweildauer. Fixt Issue2217
Modified: waska/trunk/waskaweb/public/xml/eval_weitere.xml
===================================================================
--- waska/trunk/waskaweb/public/xml/eval_weitere.xml 2011-07-27 12:55:11 UTC (rev 5199)
+++ waska/trunk/waskaweb/public/xml/eval_weitere.xml 2011-07-27 12:56:13 UTC (rev 5200)
@@ -614,7 +614,7 @@
<basequery>
<table>master_tbl_eval_total_view</table>
<template>SELECT id, erstgespraech, datum_feststellung, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
- <aggregate>trunc(sum(extract(epoch from age(m.datum_feststellung, m.erstgespraech))/86400)/count(m.id))</aggregate>
+ <aggregate>trunc(sum(extract(epoch from age(m.datum_feststellung, m.erstgespraech))/86400))</aggregate>
<where>(TRUE)</where>
</basequery>
<xdim>
@@ -655,7 +655,7 @@
<basequery>
<table>master_tbl_eval_total_view</table>
<template>SELECT id, beendigung_5, datum_feststellung, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
- <aggregate>trunc(sum(extract(epoch from age(m.beendigung_5, m.datum_feststellung))/86400)/count(m.id))</aggregate>
+ <aggregate>trunc(sum(extract(epoch from age(m.beendigung_5, m.datum_feststellung))/86400))</aggregate>
<where>(TRUE)</where>
</basequery>
<xdim>
@@ -709,7 +709,7 @@
<basequery>
<table>master_tbl_eval_total_view</table>
<template>SELECT id, beendigung_5, beendigung_nachbetreuung, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
- <aggregate>trunc(sum(extract(epoch from age(m.beendigung_nachbetreuung, m.beendigung_5))/86400)/count(m.id))</aggregate>
+ <aggregate>trunc(sum(extract(epoch from age(m.beendigung_nachbetreuung, m.beendigung_5))/86400))</aggregate>
<where>(TRUE)</where>
</basequery>
<xdim>
More information about the Mpuls-commits
mailing list