Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IS-1577] Allow veileder to filter on dnr-dates as well #357

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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