Skip to content

Commit

Permalink
OK-823 Use hakukohdeOid instead of hakuOid for hakukohdeviite tunniste
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Feb 12, 2025
1 parent 9f9ddd4 commit 05d7713
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ select distinct on (id) id, %s as parentId, %s from %s hist

@Override
public List<Poistettu> findParentHakukohdeviitteet(Collection<Long> ids) {
return doFindParents("hakukohde_viite", "null", "hakuoid", ids);
return doFindParents("hakukohde_viite", "null", "oid", ids);
}

@Override
public List<Poistettu> findParentHakukohdeviitteetFromHistory(Collection<Long> ids) {
return doFindParents("hakukohde_viite_history", "null", "hakuoid", ids);
return doFindParents("hakukohde_viite_history", "null", "oid", ids);
}

@Override
Expand Down

0 comments on commit 05d7713

Please sign in to comment.