[GRASS-SVN] r65644 - grass/branches/releasebranch_7_0/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 19 10:13:08 PDT 2015


Author: annakrat
Date: 2015-07-19 10:13:07 -0700 (Sun, 19 Jul 2015)
New Revision: 65644

Modified:
   grass/branches/releasebranch_7_0/lib/python/temporal/gui_support.py
Log:
temporal: missing WHERE caused listing temporal datasets multiple times in selection widget (merge from trunk, r65641)

Modified: grass/branches/releasebranch_7_0/lib/python/temporal/gui_support.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/temporal/gui_support.py	2015-07-19 17:12:35 UTC (rev 65643)
+++ grass/branches/releasebranch_7_0/lib/python/temporal/gui_support.py	2015-07-19 17:13:07 UTC (rev 65644)
@@ -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