Skip to content

Commit

Permalink
Merge pull request #1 from Clancey/master
Browse files Browse the repository at this point in the history
Do I win the first pull request award?
  • Loading branch information
jstedfast committed Mar 26, 2012
2 parents 16b77a9 + ab6ccfd commit 73aebc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.dll
*.mdb
[Bb]in
[Dd]ebug*/
obj/
*userprefs
3 changes: 2 additions & 1 deletion MonoTouch.SQLite/SQLiteTableModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ public SQLiteTableModel (SQLiteConnection sqlitedb, int pageSize, SQLiteOrderBy
SectionExpression = sectionExpr;
Connection = sqlitedb;
PageSize = pageSize;

if(!string.IsNullOrEmpty(sectionExpr))
OrderBy.Add(new SQLiteOrderBy(sectionExpr,SQLiteSortOrder.Ascending));
if (orderBy != null)
OrderBy.Add (orderBy);

Expand Down

0 comments on commit 73aebc1

Please sign in to comment.