-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] Move handling of form elements back to the Form
This toxic function getRowsElementsAndInfo does things for the form layer but it's also heavily used in the BAO dedupeProcess. Ideally we want the things that are onnly being done to support (one specific) form to sit on that form. This does that just for one of the 2 arrays it creates of form elements. The rel_table_elements array is just an array that looks like [ ['checkbox', 'move_rel_contributions'], ['checkbox, 'move_rel_activities'], ] The rel_tables array is an array of metadata keyed by eg. move_rel_contributions. Ergo this can be done easily on the form layer with the data it already has
- Loading branch information
1 parent
6010fe3
commit f84bb3c
Showing
2 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters