Changed Stored Procedure To Include Results Of Proficiencies From Any Assessment.
Removed the 'AND s.SelfAssessmentID = @selfAssessmentId' clause from the GetAssessmentResultsByDelegate stored procedure.
Screenshots
I created a copy of the IV Therapy passport. The left side is the original passport and the right side is the copied passport.
Before changes -
In the image, we can see that even though the proficiencies are achieved in one assessment, it does not reflect in the other with the same proficiencies -
After changes -
We see that results are fetched in new assessment even when the proficiencies were done in the older one.
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have:
[x] Run the formatter and made sure there are no IDE errors (see info on Text Editor settings to avoid whitespace changes)
[ ] Written tests for the changes (accessibility tests, unit tests for controller, data services, services, view models, etc)
[x] Manually tested my work with and without JavaScript
[ ] Tested any Views or partials created or changed with Wave Chrome plugin and addressed any valid accessibility issues
[ ] Updated/added documentation in Confluence and/or GitHub Readme. List of documentation links added/changed:
[ ] Updated my Jira ticket with information about other parts of the system that were touched as part of the MR and have to be sanity tested to ensure nothing’s broken
[x] Scanned over my pull request in GitHub and addressed any warnings from the GitHub Build and Test checks.
JIRA link
TD-4950
Description
Changed Stored Procedure To Include Results Of Proficiencies From Any Assessment. Removed the 'AND s.SelfAssessmentID = @selfAssessmentId' clause from the GetAssessmentResultsByDelegate stored procedure.
Screenshots
I created a copy of the IV Therapy passport. The left side is the original passport and the right side is the copied passport.
Before changes - In the image, we can see that even though the proficiencies are achieved in one assessment, it does not reflect in the other with the same proficiencies -
After changes - We see that results are fetched in new assessment even when the proficiencies were done in the older one.
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have: