Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit b5f7715

Browse files
authored
Merge pull request #243 from City-of-Helsinki/hotfix-220322
fix application round filtering
2 parents 9cd0062 + 72ea6aa commit b5f7715

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/pages/search/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const Search = ({ applicationRounds }: Props): JSX.Element => {
160160
(ar) => ar.id === Number(parsedParams.applicationRound)
161161
);
162162
return applicationRound?.reservationUnitIds.includes(
163-
Number(reservationUnit.id)
163+
Number(reservationUnit.pk)
164164
);
165165
}
166166
return true;

0 commit comments

Comments
 (0)