[Mpuls-commits] r595 - in wasko/branches/1.0: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Sep 5 12:33:06 CEST 2009


Author: frank
Date: 2009-09-05 12:33:04 +0200 (Sat, 05 Sep 2009)
New Revision: 595

Modified:
   wasko/branches/1.0/ChangeLog.txt
   wasko/branches/1.0/waskaweb/model/case.py
Log:
	* waskaweb/model/case.py: Include datum_cm_ende in LOAD_CASE_SQL


Modified: wasko/branches/1.0/ChangeLog.txt
===================================================================
--- wasko/branches/1.0/ChangeLog.txt	2009-09-05 09:04:40 UTC (rev 594)
+++ wasko/branches/1.0/ChangeLog.txt	2009-09-05 10:33:04 UTC (rev 595)
@@ -1,3 +1,7 @@
+2009-09-05	Frank Koormann <frank.koormann at intevation.de>
+
+	* waskaweb/model/case.py: Include datum_cm_ende in LOAD_CASE_SQL
+
 2009-09-04	Frank Koormann <frank.koormann at intevation.de>
 
 	Call getData with explicite master_id to avoid side effects on case bundles.

Modified: wasko/branches/1.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/1.0/waskaweb/model/case.py	2009-09-05 09:04:40 UTC (rev 594)
+++ wasko/branches/1.0/waskaweb/model/case.py	2009-09-05 10:33:04 UTC (rev 595)
@@ -126,7 +126,7 @@
 FROM master_tbl_view WHERE id = %(id)s
 """
 
-LOAD_CASE_SQL = """SELECT name as name_1, vorname as vorname_1, bearbeiter_id, fn as kundennummer, erstgespraech from master_tbl_view WHERE id = %(id)s"""
+LOAD_CASE_SQL = """SELECT name as name_1, vorname as vorname_1, bearbeiter_id, fn as kundennummer, erstgespraech, datum_cm_ende from master_tbl_view WHERE id = %(id)s"""
 DELETE_CASE_SQL = """select delete_master_ds(%(id)s)""" 
 
 CREATE_CASE_SQL = """SELECT create_master_ds(%(uuid)s)"""
@@ -834,7 +834,7 @@
         }
 
     def getFirstMeeting(self):
-        return self.first_name
+        return self.first_meeting
 
     def isYoungerThan(self, mydate):
         '''Return True if case was active relative to mydate.



More information about the Mpuls-commits mailing list