feat(v3): populate searchable_fields for all remaining object definitions

This commit is contained in:
Scott Idem
2026-01-06 18:18:39 -05:00
parent c33ae332e9
commit 6470af0a01
9 changed files with 52 additions and 52 deletions

View File

@@ -22,7 +22,7 @@ order_obj_li = {
'contact_id_random', 'person_id_random', 'user_id_random',
'order_status_id', 'order_status_name', 'payment_status_id',
'payment_status_name', 'external_id', 'source_code', 'notes',
'enable', 'hide', 'priority', 'group', 'created_on', 'updated_on'
'enable', 'hide', 'priority', 'sort', 'group', 'created_on', 'updated_on'
],
},
'order_line': {
@@ -40,7 +40,7 @@ order_obj_li = {
# V3 Search Security:
'searchable_fields': [
'order_line_id_random', 'order_id_random', 'product_id_random',
'name', 'description', 'enable', 'hide', 'priority', 'group',
'name', 'description', 'enable', 'hide', 'priority', 'sort', 'group', 'notes',
'created_on', 'updated_on'
],
},
@@ -56,8 +56,8 @@ order_obj_li = {
# V3 Search Security:
'searchable_fields': [
'order_cart_id_random', 'account_id_random', 'person_id_random',
'user_id_random', 'session_id', 'enable', 'hide', 'priority',
'group', 'created_on', 'updated_on'
'user_id_random', 'session_id', 'enable', 'hide', 'priority', 'sort',
'group', 'notes', 'created_on', 'updated_on'
],
},
'order_cart_line': {
@@ -72,7 +72,7 @@ order_obj_li = {
# V3 Search Security:
'searchable_fields': [
'order_cart_line_id_random', 'order_cart_id_random', 'product_id_random',
'enable', 'hide', 'priority', 'group', 'created_on', 'updated_on'
'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
],
},
'product': {
@@ -92,7 +92,7 @@ order_obj_li = {
'product_id_random', 'account_id_random', 'for_type', 'for_id_random',
'type_code', 'type_name', 'name', 'description', 'unit_price',
'tax_rate', 'vat_rate', 'max_quantity', 'recurring', 'enable',
'hide', 'priority', 'group', 'created_on', 'updated_on'
'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
],
},
'order_cfg': {