Skip to content

Commit 3923c8e

Browse files
authored
Merge pull request #31483 from demeritcowboy/finlabelname
fix schema for financial type/account to have label_field=label
2 parents 81cdcad + 2803a10 commit 3923c8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema/Financial/FinancialAccount.entityType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'description' => ts('Financial Accounts'),
1111
'log' => TRUE,
1212
'add' => '3.2',
13-
'label_field' => 'name',
13+
'label_field' => 'label',
1414
],
1515
'getPaths' => fn() => [
1616
'add' => 'civicrm/admin/financial/financialAccount/edit?action=add&reset=1',

schema/Financial/FinancialType.entityType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'description' => ts('Formerly civicrm_contribution_type merged into this table in 4.3'),
1111
'log' => TRUE,
1212
'add' => '1.3',
13-
'label_field' => 'name',
13+
'label_field' => 'label',
1414
],
1515
'getPaths' => fn() => [
1616
'add' => 'civicrm/admin/financial/financialType/edit?action=add&reset=1',

0 commit comments

Comments
 (0)