[Mpuls-commits] r4738 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 1 16:30:58 CET 2011


Author: torsten
Date: 2011-03-01 16:30:57 +0100 (Tue, 01 Mar 2011)
New Revision: 4738

Modified:
   base/trunk/mpulsweb/controllers/caseappointment.py
Log:
* mpulsweb/controllers/caseappointment.py
	(CaseappointmentController.newReminder): Issue1874: Call new function
	"getSubject" instead hardcode idetifier of the case for reminders.


Modified: base/trunk/mpulsweb/controllers/caseappointment.py
===================================================================
--- base/trunk/mpulsweb/controllers/caseappointment.py	2011-03-01 15:29:54 UTC (rev 4737)
+++ base/trunk/mpulsweb/controllers/caseappointment.py	2011-03-01 15:30:57 UTC (rev 4738)
@@ -63,7 +63,7 @@
         form_defaults = {'start_date': dd_mm_YYYY(cd),
                          'start_time': HH_MM(cd),
                          'case_id': id,
-                         'title': u"%s, %s" % (case.last_name, case.first_name),
+                         'title': case.getSubject(),
                          'description': (u"Bitte geben Sie den Grund für"
                                          u" die Wiedervorlage ein"),
                          'type': 1}



More information about the Mpuls-commits mailing list