Forcing global to be in newest order.

This commit is contained in:
Samuel Clay 2013-07-05 19:24:29 -07:00
parent 6751ff890e
commit 6eff208def

View file

@ -1033,6 +1033,7 @@ NEWSBLUR.AssetModel = Backbone.Router.extend({
},
view_setting: function(feed_id, setting, callback) {
if (feed_id = "river:global" && setting == "order") return "newest";
if (_.isUndefined(setting) || _.isString(setting)) {
setting = setting || 'view';
var s = setting.substr(0, 1);