summaryrefslogtreecommitdiff
path: root/app/index.js
diff options
context:
space:
mode:
authortwo hustlers proj <jules+okfprojz@okfoc.us>2015-05-27 13:26:30 -0400
committertwo hustlers proj <jules+okfprojz@okfoc.us>2015-05-27 13:26:30 -0400
commitfca99b7846b78393a87c2aa7b91571cbf02530e3 (patch)
treeb041b2c284b2b3233fdeae28e2fbebdae9c2aef6 /app/index.js
parent1dfbf71af1776bbb913a65d6d9a0c5e6b0fadd46 (diff)
parentfb5c451361916593edf39ed5f3614984dc29a36d (diff)
Merge branch 'twohustlers' of github.com:okfocus/okcms into twohustlers
Diffstat (limited to 'app/index.js')
-rw-r--r--app/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/index.js b/app/index.js
index 963bfd0..8cca3ee 100644
--- a/app/index.js
+++ b/app/index.js
@@ -238,6 +238,8 @@ OKCMS.prototype._createQueries = function(queryConfig, resourceCache) {
resource: resource,
query: query,
as: config.as,
+ sortBy: config.sortBy,
+ descending: config.descending
});
});
};