fixed $lb

This commit is contained in:
Master Kwoth 2016-07-04 09:59:26 +02:00
parent 92f4ba260b
commit 1cbb213706

View File

@ -198,7 +198,7 @@ Limit 20 OFFSET ?", num * 20);
{ {
using (var conn = new SQLiteConnection(FilePath)) using (var conn = new SQLiteConnection(FilePath))
{ {
return conn.Table<CurrencyState>().OrderBy(cs => -cs.Value).Take(n).ToList(); return conn.Table<CurrencyState>().OrderByDescending(cs => cs.Value).Take(n).ToList();
} }
} }
} }