spree_admin 5.4.0.beta9 → 5.4.0.beta10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4edb3bf59b0e9b8f0b8193d25669b25bc267d52e1deceb63a2bc4822fd03f50
4
- data.tar.gz: a1acd2d51c2c84674584159dca180712b07e69cf30a4d5d979d105420108f3dc
3
+ metadata.gz: d558bfdd60258dddc980e3b4aa70299d6e0ef837c8fa105d07562aadb906fff6
4
+ data.tar.gz: 5dfba2942ca8c01a90af84a093b91d57063db2731393dceafec13f0ccacffe15
5
5
  SHA512:
6
- metadata.gz: b411c319e406a51f78bcc639e54591af614e56ed40fb863d63df02bc38ebcbde4bc510dcefa7c927a9bc3e6c039acc601097e7240021d40488e7efa9d9a2fa05
7
- data.tar.gz: 1089413b75da94c96e876cdb630954b67f6acfc01788d30df283145c34fed814eb14205d061409366bd6da893d99e2090dd9b2198905fcf979a0f0669eda3c68
6
+ metadata.gz: e8b9d9cb68285cf3122bef4b412785c64d2343a731d5740b09a49e27c4b0e83921230608e5c6735fac5921133ad853a150f6d3b77850d0c3465adc2998d5aed1
7
+ data.tar.gz: 07c30b2968adedc52c3dd7bc92702f48c17525446f4314d1708ede60a6052146a606dcf5633487378ff8db1a18f3b0387da765e4c9be1544cf1f6f77ca37942d
@@ -35,7 +35,7 @@ module Spree
35
35
 
36
36
  scope = current_store.products.not_archived.accessible_by(current_ability, :index)
37
37
  scope = scope.where.not(id: params[:omit_ids].split(',')) if params[:omit_ids].present?
38
- @products = scope.includes(:primary_media).multi_search(query).limit(params[:limit] || 10)
38
+ @products = scope.includes(:primary_media).search(query).limit(params[:limit] || 10)
39
39
 
40
40
  respond_to do |format|
41
41
  format.turbo_stream do
@@ -29,7 +29,7 @@ module Spree
29
29
  scope = model_class.accessible_by(current_ability, :index)
30
30
  scope = scope.where.not(id: params[:omit_ids].split(',')) if params[:omit_ids].present?
31
31
  @users = scope.includes(:bill_address, :ship_address, avatar_attachment: :blob)
32
- .multi_search(query)
32
+ .search(query)
33
33
  .limit(params[:limit] || 10)
34
34
 
35
35
  respond_to do |format|
@@ -37,7 +37,7 @@ module Spree
37
37
 
38
38
  @variants = scope.
39
39
  eligible.
40
- multi_search(query).
40
+ search(query).
41
41
  includes(:images, :prices, :stock_items, :stock_locations, :product, option_values: :option_type).
42
42
  limit(params[:limit] || 20).
43
43
  reorder('').
@@ -12,7 +12,7 @@
12
12
 
13
13
  Rails.application.config.after_initialize do
14
14
  # Register Products table
15
- Spree.admin.tables.register(:products, model_class: Spree::Product, search_param: :multi_search)
15
+ Spree.admin.tables.register(:products, model_class: Spree::Product, search_param: :search)
16
16
 
17
17
  # Product name with image (custom partial)
18
18
  Spree.admin.tables.products.add :name,
@@ -190,7 +190,7 @@ Rails.application.config.after_initialize do
190
190
  condition: -> { can?(:manage_tags, Spree::Product) }
191
191
 
192
192
  # Register Orders table
193
- Spree.admin.tables.register(:orders, model_class: Spree::Order, search_param: :multi_search, date_range_param: :completed_at)
193
+ Spree.admin.tables.register(:orders, model_class: Spree::Order, search_param: :search, date_range_param: :completed_at)
194
194
 
195
195
  Spree.admin.tables.orders.add :number,
196
196
  label: :number,
@@ -351,7 +351,7 @@ Rails.application.config.after_initialize do
351
351
  search_url: ->(view_context) { view_context.spree.select_options_admin_promotions_path(format: :json) }
352
352
 
353
353
  # Register Checkouts table (draft orders)
354
- Spree.admin.tables.register(:checkouts, model_class: Spree::Order, search_param: :multi_search, date_range_param: :created_at, new_resource: false)
354
+ Spree.admin.tables.register(:checkouts, model_class: Spree::Order, search_param: :search, date_range_param: :created_at, new_resource: false)
355
355
 
356
356
  Spree.admin.tables.checkouts.add :number,
357
357
  label: :number,
@@ -427,7 +427,7 @@ Rails.application.config.after_initialize do
427
427
  position: 80
428
428
 
429
429
  # Register Users table
430
- Spree.admin.tables.register(:users, model_class: Spree.user_class, search_param: :multi_search, row_actions: false, link_to_action: :show)
430
+ Spree.admin.tables.register(:users, model_class: Spree.user_class, search_param: :search, row_actions: false, link_to_action: :show)
431
431
 
432
432
  # User name with avatar
433
433
  Spree.admin.tables.users.add :name,
@@ -934,7 +934,7 @@ Rails.application.config.after_initialize do
934
934
  position: 70
935
935
 
936
936
  # Register Metafield Definitions table
937
- Spree.admin.tables.register(:metafield_definitions, model_class: Spree::MetafieldDefinition, search_param: :multi_search, row_actions: true)
937
+ Spree.admin.tables.register(:metafield_definitions, model_class: Spree::MetafieldDefinition, search_param: :search, row_actions: true)
938
938
 
939
939
  Spree.admin.tables.metafield_definitions.add :key,
940
940
  label: :key,
@@ -1433,7 +1433,7 @@ Rails.application.config.after_initialize do
1433
1433
  # ==========================================
1434
1434
  # Price List Products Table
1435
1435
  # ==========================================
1436
- Spree.admin.tables.register(:price_list_products, model_class: Spree::Product, search_param: :multi_search, row_actions: false, new_resource: false)
1436
+ Spree.admin.tables.register(:price_list_products, model_class: Spree::Product, search_param: :search, row_actions: false, new_resource: false)
1437
1437
 
1438
1438
  Spree.admin.tables.price_list_products.add :name,
1439
1439
  label: :name,
@@ -1541,7 +1541,7 @@ Rails.application.config.after_initialize do
1541
1541
  # ==========================================
1542
1542
  # Customer Group Users Table (users within a customer group)
1543
1543
  # ==========================================
1544
- Spree.admin.tables.register(:customer_group_users, model_class: Spree.user_class, search_param: :multi_search, row_actions: false, new_resource: false)
1544
+ Spree.admin.tables.register(:customer_group_users, model_class: Spree.user_class, search_param: :search, row_actions: false, new_resource: false)
1545
1545
 
1546
1546
  Spree.admin.tables.customer_group_users.add :name,
1547
1547
  label: :name,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0.beta9
4
+ version: 5.4.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vendo Connect Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-17 00:00:00.000000000 Z
11
+ date: 2026-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.4.0.beta9
19
+ version: 5.4.0.beta10
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.4.0.beta9
26
+ version: 5.4.0.beta10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: active_link_to
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -1169,9 +1169,9 @@ licenses:
1169
1169
  - BSD-3-Clause
1170
1170
  metadata:
1171
1171
  bug_tracker_uri: https://github.com/spree/spree/issues
1172
- changelog_uri: https://github.com/spree/spree/releases/tag/v5.4.0.beta9
1172
+ changelog_uri: https://github.com/spree/spree/releases/tag/v5.4.0.beta10
1173
1173
  documentation_uri: https://docs.spreecommerce.org/
1174
- source_code_uri: https://github.com/spree/spree/tree/v5.4.0.beta9
1174
+ source_code_uri: https://github.com/spree/spree/tree/v5.4.0.beta10
1175
1175
  post_install_message:
1176
1176
  rdoc_options: []
1177
1177
  require_paths: