Skip to content

Commit

Permalink
Set viewing scope for ticket search (#4715)
Browse files Browse the repository at this point in the history
  • Loading branch information
elkebab authored Oct 31, 2023
1 parent c2917fc commit 54ccf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/messages/TasksPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const TasksPage = () => {
.filter(Boolean)
.join(' AND ');

const ticketQuery = `${ticketQueryString}&viewingScope=${user?.topOrgCristinId}`;
const ticketQuery = `${ticketQueryString}&viewingScope=${organizationScope.join(',')}${excludeSubunitsQuery}`;

const ticketsQuery = useQuery({
enabled: isOnTicketsPage,
Expand Down

0 comments on commit 54ccf39

Please sign in to comment.