effective_events 3.3.4 → 3.3.5

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: f9b07bb93cfabb9a149aec720869d70e1fd11ad232470d235541181bcc0b219c
4
- data.tar.gz: 71ab26bdc03c680ca81480cb695f749f6a04b83fb5670c92edce04b8595eec82
3
+ metadata.gz: bd3b79e619ea9b2357e37fb87cecc9b0ea0b8c1e626f01c4fb89910a06b18a3f
4
+ data.tar.gz: 38c2ad193a4c6d6fb488f04632ee6380b34e830b5fb61164c125ea5936f6ff4d
5
5
  SHA512:
6
- metadata.gz: 0dc2c98118a82d433e6a1b2ff94f135e346571c7ac93c07dd9ace7a9449de6cc60414faa6384f3cd7b345667551a3a5f9dd501d9c853d5bf3ae477ccc505330d
7
- data.tar.gz: bfec9689edade44c45193c449dd8afa84b1f89d452e10cc1a76870c9ffaae8de00d0896eab3244dbe6b6d4372f15f17fc65df3b0a28bb031070539573d4fb2bd
6
+ metadata.gz: efd880df3b4c17eca3598f9a7ad35ccc5f0bb532eed2245901764ba5f9148b0871157b4d906e346b5684410c2bba492e48a0cd912f3c93f7faeacebb0d6a9bdb
7
+ data.tar.gz: e49a5ba9f25b817f1911b3847fc09163cb643e6ca4916f6d54b40405a54e32c71998fbf4976b34c314e6004786ba5e0f11d04a746df32bc250da102513f37bf0
@@ -24,6 +24,8 @@ module Admin
24
24
 
25
25
  col :owner, as: :string, sql_column: 'users.last_name' do |er|
26
26
  er.owner.to_s
27
+ end.search do |collection, term|
28
+ collection.where("users.first_name ILIKE :term OR users.last_name ILIKE :term", term: "%#{term}%")
27
29
  end
28
30
  col :event_registration, visible: false
29
31
 
@@ -66,11 +68,15 @@ module Admin
66
68
  else
67
69
  'Pending Name'
68
70
  end
71
+ end.search do |collection, term|
72
+ collection.where("event_registrants.first_name ILIKE :term OR event_registrants.last_name ILIKE :term", term: "%#{term}%")
69
73
  end
70
74
 
71
75
  col :user, visible: false
72
76
  col :organization, as: :string, sql_column: "NULLIF(organizations.title, '')", visible: EffectiveEvents.organization_enabled? do |er|
73
77
  er.organization.to_s
78
+ end.search do |collection, term|
79
+ collection.where("organizations.title ILIKE :term", term: "%#{term}%")
74
80
  end
75
81
  col :company, visible: !EffectiveEvents.organization_enabled?
76
82
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '3.3.4'.freeze
2
+ VERSION = '3.3.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.4
4
+ version: 3.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-26 00:00:00.000000000 Z
11
+ date: 2026-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails