From 7081c12524672c686227f4ae68db1fe0b693ae25 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 13 Apr 2011 00:21:53 +0200 Subject: [PATCH] fix backward map display --- src/StorageDatabase.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StorageDatabase.scala b/src/StorageDatabase.scala index caba3b4..db96fd7 100644 --- a/src/StorageDatabase.scala +++ b/src/StorageDatabase.scala @@ -177,7 +177,7 @@ class StorageDatabase(context : Context) extends def getPositions(sel : String, selArgs : Array[String], limit : String) : Cursor = Benchmark("getPositions") { getReadableDatabase().query(Position.TABLE, Position.COLUMNS, sel, selArgs, - null, null, "CALL, _ID DESC", limit) + null, null, "CALL, _ID", limit) } def getRectPositions(lat1 : Int, lon1 : Int, lat2 : Int, lon2 : Int, limit : String) : Cursor = {