Skip to content

Commit d41150f

Browse files
author
Leonix
committed
Shop-Script v.10.1.2
Fixed a few found errors: * in the kanban mode of the Orders section, * in the settings of color type product features, * in bulk product actions, * in the plugins support.
1 parent f5b2bae commit d41150f

File tree

6 files changed

+26
-22
lines changed

6 files changed

+26
-22
lines changed

js/backend/products/main/main.list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7553,7 +7553,8 @@
75537553
case "export_csv":
75547554
var redirect_url = action.redirect_url;
75557555
if (is_all_products) {
7556-
redirect_url = action.redirect_url.replace("id/", "all/");
7556+
var url_path = that.filter.rules.length > 0 ? `presentation/${that.presentation.id}/` : "all/";
7557+
redirect_url = action.redirect_url.replace("id/", url_path);
75577558
}else{
75587559
redirect_url = redirect_url + product_ids.join(",");
75597560
}

js/order/list.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,10 @@
14451445
let param_state_id = state_id ? `&state_id=${state_id}` : '';
14461446
sort = sort || this.sort;
14471447

1448+
if (this.options.view === 'kanban' && this.filter_params_str === 'state_id=new|processing|auth|paid') {
1449+
this.filter_params_str = null;
1450+
}
1451+
14481452
return `?module=orders&action=loadList${param_state_id}&id=${id}` +
14491453
(this.filter_params_str ? '&' + this.filter_params_str : '') +
14501454
(lt ? '&lt=1' : '') +

js/order/order.min.js

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/order/order.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)