mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
feat: preserver querystring when changing category sort
This commit is contained in:
@@ -17,7 +17,8 @@ define('sort', ['components'], function (components) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
config[field] = newSetting;
|
||||
ajaxify.go(gotoOnSave);
|
||||
var qs = decodeURIComponent($.param(utils.params()));
|
||||
ajaxify.go(gotoOnSave + (qs ? '?' + qs : ''));
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user