fix: #9447, include query params in previousUrl

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 8d9afbc606
commit 536591f842

@ -46,7 +46,9 @@ ajaxify = window.ajaxify || {};
apiXHR.abort();
}
app.previousUrl = !['reset'].includes(ajaxify.currentPage) ? window.location.pathname.slice(config.relative_path.length) : app.previousUrl;
app.previousUrl = !['reset'].includes(ajaxify.currentPage) ?
window.location.pathname.slice(config.relative_path.length) + window.location.search :
app.previousUrl;
url = ajaxify.start(url);

Loading…
Cancel
Save