Skip to content

Conversation

@labkey-ankurj
Copy link
Contributor

Rationale

This PR adds support for the modules to opt in to navigate to data entry forms when clicking edit links in animal history reporting through EHRService.addModuleRequiringFormEditUI()

Related Pull Requests


DetailsURL updateUrl = DetailsURL.fromString(detailsStr);
DetailsURL updateUrl;
if (EHRServiceImpl.get().isUseFormEditUI(getContainer()) && null != ti.getColumn("taskid"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@labkey-jeckels I think this will be useless when there is no value for task ids.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, agreed. Checking for the presence of that column is a good idea.

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See TNPRC PR for a rename suggestion, but otherwise looks good.


DetailsURL updateUrl = DetailsURL.fromString(detailsStr);
DetailsURL updateUrl;
if (EHRServiceImpl.get().isUseFormEditUI(getContainer()) && null != ti.getColumn("taskid"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, agreed. Checking for the presence of that column is a good idea.

@labkey-ankurj labkey-ankurj merged commit f433021 into release21.7-SNAPSHOT Aug 27, 2021
@labkey-ankurj labkey-ankurj deleted the 21.7_fb_Issue260_updateURL branch August 27, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants