Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--
-- 25-03-2021 Killian Davies Initial Revision
-- 08-02-2024 SA Included Role details.
-- 31-05-2024 SS Considering only active users
-------------------------------------------------------------------------------
CREATE PROCEDURE [hub].[RestrictedCatalogueGetAccessRequests]
(
Expand Down Expand Up @@ -38,7 +39,7 @@ BEGIN
hub.UserProfile up ON car.UserId = up.Id
WHERE
car.CatalogueNodeId = @catalogueNodeId
AND car.Deleted = 0
AND car.Deleted = 0 and up.Deleted=0
) AS T1
WHERE T1.[Sequence] = 1
AND ((@includeNew = 1 AND CatalogueAccessRequestStatus = 0)
Expand Down