[Mpuls-commits] r3547 - in base/trunk: . mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 7 14:59:50 CEST 2010
Author: roland
Date: 2010-09-07 14:59:44 +0200 (Tue, 07 Sep 2010)
New Revision: 3547
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/model/logbook.py
Log:
issue1078: Sorting of logbook entries by name
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-09-07 12:21:22 UTC (rev 3546)
+++ base/trunk/ChangeLog 2010-09-07 12:59:44 UTC (rev 3547)
@@ -1,3 +1,8 @@
+2010-09-06 Roland Geider <roland.geider at intevation.de>
+
+ * mpulsweb/model/logbook.py: issue1078: Sorting of logbook entries by
+ name
+
2010-09-07 Torsten Irländer <torsten.irlaender at intevation.de>
* mpulsweb/public/styles/all.css: Changed size (smaller) of
Modified: base/trunk/mpulsweb/model/logbook.py
===================================================================
--- base/trunk/mpulsweb/model/logbook.py 2010-09-07 12:21:22 UTC (rev 3546)
+++ base/trunk/mpulsweb/model/logbook.py 2010-09-07 12:59:44 UTC (rev 3547)
@@ -40,7 +40,7 @@
KIND2TEXT = g.mpuls_config.get('logbook', 'descriptions')[0]
-ALLOWED_SORTING = ['name', 'art', 'dauer', 'datum', 'asc', 'desc']
+ALLOWED_SORTING = ['name', 'art', 'dauer', 'datum', 'asc', 'desc', 'nachname']
LOAD_LOGBOOK = """
SELECT l.id AS id, datum, bearbeiter, art, kurz_notiz, notiz, dauer
FROM ka_logbuch_tbl_view l WHERE l.master_id = %s
More information about the Mpuls-commits
mailing list