Skip to content

Commit

Permalink
Korjattu hakukohteiden määrän näyttäminen
Browse files Browse the repository at this point in the history
  • Loading branch information
pretseli committed Apr 17, 2024
1 parent b004632 commit 2dd5c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/lib/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const configuration: Configuration = {
serviceUrl,
loginUrl: process.env.LOGIN_URL || `${DOMAIN}/cas/login`,
sessionCookie: process.env.SESSION_COOKIE || 'JSESSIONID',
hautUrl: `${DOMAIN}/kouta-internal/haku/search`,
hautUrl: `${DOMAIN}/kouta-internal/haku/search?includeHakukohdeOids=true`,
hakuUrl: `${DOMAIN}/kouta-internal/haku`,
hakukohteetUrl: `${DOMAIN}/kouta-internal/hakukohde/search?all=false`,
kooditUrl: `${DOMAIN}/koodisto-service/rest/codeelement/codes/`,
Expand Down
2 changes: 1 addition & 1 deletion src/app/lib/kouta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function getHaut(active: boolean = true) {
hakutapaKoodiUri: h.hakutapaKoodiUri,
alkamisVuosi: parseInt(h.hakuvuosi),
alkamisKausiKoodiUri: h.hakukausi,
//hakukohteita: h.hakukohdeOids?.length,
hakukohteita: h?.hakukohdeOids?.length ?? 0,
};
},
);
Expand Down

0 comments on commit 2dd5c16

Please sign in to comment.