Mercurial > hg > ChinaGisRestApi
changeset 250:d7ceeb8ccbd7
Layer gui reordered, point order can be defined, minor edit
author | fknauft |
---|---|
date | Mon, 19 Sep 2011 15:09:51 +0200 |
parents | bba7dd7b6b4c |
children | 477b054e9357 |
files | RestDbGisApi.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/RestDbGisApi.py Mon Sep 19 14:16:03 2011 +0200 +++ b/RestDbGisApi.py Mon Sep 19 15:09:51 2011 +0200 @@ -190,6 +190,8 @@ qstr += ' ORDER BY 1' elif sortBy == 'Default': qstr += ' ORDER BY 1' + elif sortBy == 'undefined': + qstr += ' ORDER BY 1' else: # TODO: proper quoting for names qstr += ' ORDER BY "%s"'%sortBy.replace('"','')