diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-10 01:44:20 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-10 01:44:20 +0200 |
commit | bad22a2d3dc56c4b155b9c50f3362d0075ca7ec2 (patch) | |
tree | ef8bbb1df3f5272ac617b7e5b6320c974b31e0c3 /js/build/app.js | |
parent | 03e5aceb9867d49e63d35f18802ed83a22a9e988 (diff) |
fix ordering by oldest first
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/build/app.js b/js/build/app.js index aea02b060..3cfe28892 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -170,9 +170,9 @@ }); this.orderBy = (function() { if (SettingsResource.get('oldestFirst')) { - return '-id'; - } else { return 'id'; + } else { + return '-id'; } }); this.isCompactView = (function() { @@ -1028,7 +1028,7 @@ } } })); - }(window, document, jQuery)); + }(window, document, $)); var call = Function.prototype.call.bind(Function.prototype.call); var hasOwn = Object.prototype.hasOwnProperty; window.items = function(obj) { |