Skip to content

Commit

Permalink
[IS-1577] Allow veileder to filter on dnr-dates as well (#357)
Browse files Browse the repository at this point in the history
Vi utvider lista fra 31 til 71 datoer, ettersom at NAV Oppfølging Utland ønsker å filtrere på d-nr i oversikten også. D-nr er som et vanlig fnr, men de to første sifferene har +40 i verdi.
  • Loading branch information
eirikdahlen authored Sep 6, 2023
1 parent 727cd55 commit 8d9db7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mock/data/personInfoMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const personInfoMock: PersonregisterData[] = [
skjermingskode: 'INGEN',
},
{
fnr: '99999933333',
fnr: '59999933333',
navn: 'Korrupt Bolle',
skjermingskode: 'DISKRESJONSMERKET',
},
Expand Down
2 changes: 1 addition & 1 deletion mock/data/personoversiktEnhetMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const personoversiktEnhetMock: PersonOversiktStatusDTO[] = [
behandlerdialogUbehandlet: true,
},
{
fnr: '99999933333',
fnr: '59999933333',
navn: '',
enhet: '0316',
veilederIdent: 'Z101010',
Expand Down
2 changes: 1 addition & 1 deletion src/components/filters/BirthDateFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Select from 'react-select';
import { ValueType } from 'react-select/src/types';
import { FilterTitle } from '../FilterTitle';

const allDates = new Array(31)
const allDates = new Array(71)
.fill(1)
.map((currentNumber, index) => currentNumber + index);

Expand Down
2 changes: 1 addition & 1 deletion test/data/fellesTestdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const enhetId = '0316';
export const testdata = {
fnr1: '01999911111',
fnr2: '99999922222',
fnr3: '99999933333',
fnr3: '59999933333',
fnr4: '99999944444',
navn1: 'Et navn',
navn2: 'Et annet navn',
Expand Down

0 comments on commit 8d9db7b

Please sign in to comment.