feat: preserver querystring when changing category sort

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 9b8ac89e13
commit ad96b0e0db

@ -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 : ''));
});
});
};

Loading…
Cancel
Save