[Mpuls-commits] r2795 - waska/branches/1.7/waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri May 28 15:17:14 CEST 2010


Author: torsten
Date: 2010-05-28 15:17:14 +0200 (Fri, 28 May 2010)
New Revision: 2795

Modified:
   waska/branches/1.7/waskaweb/lib/search.py
Log:
Load tags when loading the caseoverview


Modified: waska/branches/1.7/waskaweb/lib/search.py
===================================================================
--- waska/branches/1.7/waskaweb/lib/search.py	2010-05-28 13:10:51 UTC (rev 2794)
+++ waska/branches/1.7/waskaweb/lib/search.py	2010-05-28 13:17:14 UTC (rev 2795)
@@ -54,7 +54,8 @@
       st.id as s_id,
       m.zeitraum_nachbetreuung,
       m.art_beendigung,
-      m.einverstaendniserklaerung
+      m.einverstaendniserklaerung,
+      ARRAY(SELECT tag_id from nm_tags_cases_view where case_id = m.id) as tags
     FROM master_tbl_view m
     JOIN ka_status_tbl_view st ON
     m.id = st.master_id



More information about the Mpuls-commits mailing list