PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
← All changes | includes/order_list.php +10 -4 2.11.302.12.4 View file →
@@ -354,10 +354,10 @@
354 354 $data_cookie['startdate'] = $DT->startdate;
355 355 $data_cookie['enddate'] = $DT->enddate;
356 356 // phpcs:enable
357 357 ?>
358 - $.cookie('<?php echo "{$DT->table}" . "_path"; ?>', '<?php echo esc_url( $usces_admin_path ); ?>', { path: "<?php echo esc_url( $usces_admin_path ); ?>", domain: ""});
359 - $.cookie('<?php echo "{$DT->table}"; ?>', '<?php echo str_replace( "'", "\'", json_encode( $data_cookie ) ); ?>', { path: "<?php echo esc_url( $usces_admin_path ); ?>", domain: ""});
358 + $.cookie('<?php echo "{$DT->cookie_key}" . "_path"; ?>', '<?php echo esc_url( $usces_admin_path ); ?>', { path: "<?php echo esc_url( $usces_admin_path ); ?>", domain: ""});
359 + $.cookie('<?php echo "{$DT->cookie_key}"; ?>', '<?php echo str_replace( "'", "\'", json_encode( $data_cookie ) ); ?>', { path: "<?php echo esc_url( $usces_admin_path ); ?>", domain: ""});
360 360 })();
361 361 $("table#mainDataTable tr:even").addClass("rowSelection_even");
362 362 $("table#mainDataTable tr").hover(function() {
363 363 $(this).addClass("rowSelection_hilight");
@@ -404,9 +404,12 @@
404 404 action: "<?php echo esc_url( USCES_ADMIN_URL ); ?>?page=usces_orderlist&order_action=dlproductlist&noheader=true",
405 405 method: 'post'
406 406 });
407 407 form.append($('<input>', { type: 'hidden', name: 'search[column]', value: $(':input[name="search[column]"]').val() }));
408 - form.append($('<input>', { type: 'hidden', name: 'search[word]', value: $(':input[name="search[word]"]').val() }));
408 + form.append($('<input>', { type: 'hidden', name: 'search[sku]', value: $(':input[name="search[sku]"]').val() }));
409 + form.append($('<input>', { type: 'hidden', name: 'search[word]['+$("#searchselect").val()+']', value: $(':input[name="search[word]['+$("#searchselect").val()+']"]').val() }));
410 + form.append($('<input>', { type: 'hidden', name: 'search[skuword]['+$("#searchselectsku").val()+']', value: $(':input[name="search[skuword]['+$("#searchselectsku").val()+']"]').val() }));
411 + form.append($('<input>', { type: 'hidden', name: 'search[period]', value: $(':input[name="search[period]"]').val() }));
409 412 form.append($('<input>', { type: 'hidden', name: 'searchSwitchStatus', value: $(':input[name="searchSwitchStatus"]').val() }));
410 413 form.append($('<input>', { type: 'hidden', name: 'ftype', value: 'csv' }));
411 414 form.append($('<input>', { type: 'hidden', name: 'wc_nonce', value: $("#wc_nonce").val() }));
412 415
@@ -451,9 +454,12 @@
451 454 action: "<?php echo esc_url( USCES_ADMIN_URL ); ?>?page=usces_orderlist&order_action=dlorderlist&noheader=true",
452 455 method: 'post'
453 456 });
454 457 form.append($('<input>', { type: 'hidden', name: 'search[column]', value: $(':input[name="search[column]"]').val() }));
455 - form.append($('<input>', { type: 'hidden', name: 'search[word]', value: $(':input[name="search[word]"]').val() }));
458 + form.append($('<input>', { type: 'hidden', name: 'search[sku]', value: $(':input[name="search[sku]"]').val() }));
459 + form.append($('<input>', { type: 'hidden', name: 'search[word]['+$("#searchselect").val()+']', value: $(':input[name="search[word]['+$("#searchselect").val()+']"]').val() }));
460 + form.append($('<input>', { type: 'hidden', name: 'search[skuword]['+$("#searchselectsku").val()+']', value: $(':input[name="search[skuword]['+$("#searchselectsku").val()+']"]').val() }));
461 + form.append($('<input>', { type: 'hidden', name: 'search[period]', value: $(':input[name="search[period]"]').val() }));
456 462 form.append($('<input>', { type: 'hidden', name: 'searchSwitchStatus', value: $(':input[name="searchSwitchStatus"]').val() }));
457 463 form.append($('<input>', { type: 'hidden', name: 'ftype', value: 'csv' }));
458 464 form.append($('<input>', { type: 'hidden', name: 'wc_nonce', value: $("#wc_nonce").val() }));
459 465