Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix bulk operations in the admin panel (#12387)
Damian Kaczmarczyk6649481a1bd7
diff --git a/admin/app/helpers/spree/admin/turbo_helper.rb b/admin/app/helpers/spree/admin/turbo_helper.rbindex 791f615905..eac89fd5b9 100644--- a/admin/app/helpers/spree/admin/turbo_helper.rb+++ b/admin/app/helpers/spree/admin/turbo_helper.rb@@ -9,7 +9,7 @@ module Spreejavascript_tag doraw <<~JSif (document.querySelector('##{modal_id}')) {- window.bootstrapJQuery("##{modal_id}").modal('hide');+ window.$("##{modal_id}").modal('hide');}JSenddiff --git a/admin/config/locales/en.yml b/admin/config/locales/en.ymlindex 8d1d574b00..edd632e4bc 100644--- a/admin/config/locales/en.yml+++ b/admin/config/locales/en.yml@@ -279,6 +279,21 @@ en:edit:payment_method_configuration: "Payment Method Configuration"bulk_ops:+ set: Set+ stock_items:+ set_backorderable_to_false: Set Backorderable to false+ set_backorderable_to_true: Set Backorderable to true+ set_track_inventory_to_false: Disable Inventory Tracking+ set_track_inventory_to_true: Enable Inventory Tracking+ backorderable_explanation: Backorderable indicates if a stock item can be backordered when it runs out.+ track_inventory_explanation: Enable/disable tracking the inventory for stock items.+ users:+ title:+ add_tags: Add tags+ remove_tags: Remove tags+ body:+ add_tags: 'Select tags to add to the customers:'+ remove_tags: 'Select tags to remove from the customers:'products:title:set_status: Set as %{status}@@ -376,22 +391,6 @@ en:button_alignment: Button alignmentnot_set: Not setview_all_orders: View all orders- bulk_ops:- set: Set- stock_items:- set_backorderable_to_false: Set Backorderable to false- set_backorderable_to_true: Set Backorderable to true- set_track_inventory_to_false: Disable Inventory Tracking- set_track_inventory_to_true: Enable Inventory Tracking- backorderable_explanation: Backorderable indicates if a stock item can be backordered when it runs out.- track_inventory_explanation: Enable/disable tracking the inventory for stock items.- users:- title:- add_tags: Add tags- remove_tags: Remove tags- body:- add_tags: 'Select tags to add to the customers:'- remove_tags: 'Select tags to remove from the customers:'amount_spent: Amount spentavg_order_value: Avg. Order Valuenum_orders: No. of Orders