-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
B 22764 int #14921
base: integrationTesting
Are you sure you want to change the base?
B 22764 int #14921
Conversation
B-22227 Prime API address validation
Update .gitlab-ci.yml
…uthorized-to-orders-page MAIN - B-22300 - add dependents authorized to orders page
MAIN B-22661
disable bookmark extraction in tests
if !userFound { | ||
availableOfficeUsers = append(availableOfficeUsers, *move.TOOAssignedUser) | ||
|
||
if assignedUser != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make more sense to move this check back to 2409 and skip this block entirely if there is no assigned user?
@@ -139,7 +139,10 @@ func (o *officeUserFetcherPop) FetchOfficeUsersWithWorkloadByRoleAndOffice(appCt | |||
office_users.last_name, | |||
COUNT(DISTINCT moves.id) AS workload | |||
FROM office_users | |||
JOIN users_roles ON office_users.user_id = users_roles.user_id | |||
JOIN users_roles | |||
ON ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason for parens here? I think I'd prefer
JOIN users_roles
ON office_users.user_id = users_roles.user_id
AND users_roles.deleted_at IS NULL
but not sure there is a difference performance wise and maybe its just a style thing... won't block for this 🙃
Agility ticket
Summary
This fixes two bugs, first bulk assignment modal no longer displays users who had that respective role deleted.
Second fix is when a services counselor is assigned to a move and their role is deleted they will still be visible in the dropdown until someone else is assigned.
How to test