Skip to content

Commit

Permalink
feat: added sort by ipp in documents - Ref gestion-de-projet#2417 (#1079
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ManelleG authored Dec 5, 2024
1 parent f66f277 commit f6968df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/DataTable/DataTableComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const DataTableComposition: React.FC<DataTableCompositionProps> = ({
{ multiple: [{ label: 'Nom' }, { label: 'Date', code: Order.DATE }] },
showIpp
? {
label: `IPP${deidentified ? ' chiffré' : ''}`
label: `IPP${deidentified ? ' chiffré' : ''}`,
code: Order.SUBJECT_IDENTIFIER
}
: null,
{ label: `NDA${deidentified ? ' chiffré' : ''}` },
Expand Down
1 change: 1 addition & 0 deletions src/types/searchCriterias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export enum Order {
RECORDED_DATE = 'recorded-date',
RESULT_SIZE = 'result_size',
STUDY_DATE = 'started',
SUBJECT_IDENTIFIER = 'subject-identifier'
TYPE = 'type-name',
UPDATED = 'updated_at'
}
Expand Down

0 comments on commit f6968df

Please sign in to comment.