[GRASS-SVN] r65641 - grass/trunk/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 19 10:06:08 PDT 2015
Author: annakrat
Date: 2015-07-19 10:06:08 -0700 (Sun, 19 Jul 2015)
New Revision: 65641
Modified:
grass/trunk/lib/python/temporal/gui_support.py
Log:
temporal: missing WHERE caused listing temporal datasets multiple times in selection widget
Modified: grass/trunk/lib/python/temporal/gui_support.py
===================================================================
--- grass/trunk/lib/python/temporal/gui_support.py 2015-07-19 17:05:11 UTC (rev 65640)
+++ grass/trunk/lib/python/temporal/gui_support.py 2015-07-19 17:06:08 UTC (rev 65641)
@@ -104,6 +104,7 @@
# Create the sql selection statement
sql = "SELECT id FROM " + table
+ sql += " WHERE mapset = '%s'" % (mapset)
sql += " ORDER BY id"
dbif.execute(sql, mapset=mapset)
More information about the grass-commit
mailing list