Skip to content

Commit

Permalink
Merge pull request #18 from EdwinBetanc0urt/feature/browse-fields
Browse files Browse the repository at this point in the history
feat: Add `fields` on browse structure.
  • Loading branch information
yamelsenih authored Apr 25, 2024
2 parents 08e9a78 + 9c6d456 commit e5f820d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public DictionaryDocument withEntity(PO entity) {
)
);

documentDetail.put("fields", convertFields(browser.getFields()));
documentDetail.put("display_fields", convertFields(browser.getDisplayFields()));
documentDetail.put("criteria_fields", convertFields(browser.getCriteriaFields()));
documentDetail.put("identifier_fields", convertFields(browser.getIdentifierFields()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public static List<Map<String, Object>> generateDependentProcessParameters(MProc
// Process
detail.put("parent_id", process.getAD_Process_ID());
detail.put("parent_uuid", process.getUUID());
detail.put("parent_name", process.getName());
depenentFieldsList.add(detail);
});

Expand Down Expand Up @@ -208,6 +209,7 @@ public static List<Map<String, Object>> generateDependentWindowFields(MField fie
// Tab
detail.put("parent_id", tab.getAD_Tab_ID());
detail.put("parent_uuid", tab.getUUID());
detail.put("parent_name", tab.getName());
depenentFieldsList.add(detail);
});
});
Expand Down Expand Up @@ -277,6 +279,7 @@ public static List<Map<String, Object>> generateDependentBrowseFields(MBrowseFie
// Browse
detail.put("parent_id", browse.getAD_Browse_ID());
detail.put("parent_uuid", browse.getUUID());
detail.put("parent_name", browse.getName());
depenentFieldsList.add(detail);
});

Expand Down

0 comments on commit e5f820d

Please sign in to comment.