Skip to content

Commit

Permalink
Merge pull request #29608 from colemanw/noLabel
Browse files Browse the repository at this point in the history
Use name instead of label in conditionals
  • Loading branch information
eileenmcnaughton authored Mar 3, 2024
2 parents 0597bc7 + cd3002c commit be52927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/afform/admin/managed/FormSubmissionSavedSearch.mgd.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
'text' => E::ts('Process'),
'style' => 'default',
'condition' => [
'status_id:label',
'status_id:name',
'=',
'Pending',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
'text' => E::ts('Delete'),
'style' => 'danger',
'condition' => [
'account_relationship:label',
'account_relationship:name',
'!=',
'Accounts Receivable Account is',
],
Expand Down

0 comments on commit be52927

Please sign in to comment.