Skip to content

Commit 3b46de5

Browse files
Copilothuangyiirene
andcommitted
Fix rating filter in Lead list view after converting to numeric rating field
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 3e2baa0 commit 3b46de5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/crm/src/domains/crm/lead.object.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ export const Lead = ObjectSchema.create({
201201
sort: [{ field: 'created_date', order: 'desc' }],
202202
},
203203
hot_leads: {
204-
label: 'Hot Leads',
204+
label: 'High Score Leads',
205205
type: 'grid',
206-
columns: ['full_name', 'company', 'email', 'phone', 'status', 'owner'],
206+
columns: ['full_name', 'company', 'email', 'phone', 'status', 'rating', 'owner'],
207207
filter: [
208-
['rating', '=', 'hot'],
208+
['rating', '>=', 4],
209209
['is_converted', '=', false],
210210
],
211211
},

0 commit comments

Comments
 (0)