File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class QueryBuilder<T extends ParseObject> {
3232 /// [String] order will be the column of the table that the results are
3333 /// ordered by
3434 void orderByAscending (String order) {
35- if (limiters.isEmpty ) {
35+ if (! limiters.containsKey ( 'order' ) ) {
3636 limiters['order' ] = order;
3737 } else {
3838 limiters['order' ] = limiters['order' ] + ',' + order;
@@ -44,7 +44,7 @@ class QueryBuilder<T extends ParseObject> {
4444 /// [String] order will be the column of the table that the results are
4545 /// ordered by
4646 void orderByDescending (String order) {
47- if (limiters.isEmpty ) {
47+ if (! limiters.containsKey ( 'order' ) ) {
4848 limiters['order' ] = '-$order ' ;
4949 } else {
5050 limiters['order' ] = limiters['order' ] + ',' + '-$order ' ;
You can’t perform that action at this time.
0 commit comments