1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-09 10:15:44 +02:00

fix ordering by oldest first

This commit is contained in:
Bernhard Posselt 2014-09-10 01:44:20 +02:00
parent 03e5aceb98
commit bad22a2d3d
4 changed files with 7 additions and 7 deletions

View File

@ -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) {

2
js/build/app.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -61,9 +61,9 @@ function (Publisher, FeedResource, ItemResource, SettingsResource, data,
this.orderBy = () => {
if (SettingsResource.get('oldestFirst')) {
return '-id';
} else {
return 'id';
} else {
return '-id';
}
};

View File

@ -168,4 +168,4 @@
}
});
}(window, document, jQuery));
}(window, document, $));