summaryrefslogtreecommitdiff
path: root/app/node_modules/okquery
diff options
context:
space:
mode:
Diffstat (limited to 'app/node_modules/okquery')
-rw-r--r--app/node_modules/okquery/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/node_modules/okquery/index.js b/app/node_modules/okquery/index.js
index 89c8b73..9cc8b78 100644
--- a/app/node_modules/okquery/index.js
+++ b/app/node_modules/okquery/index.js
@@ -96,7 +96,8 @@ function queryDynamic(resource) {
function queryAll(resource) {
return function() {
- return resource.all();
+ // Always return sorted results
+ return resource.sortBy('__index');
};
}