Skip to content

Commit

Permalink
PRMDR-396
Browse files Browse the repository at this point in the history
Changes to ensure 'Download all documents' downloads LG and EHR documents instead of just EHR
  • Loading branch information
AlexHerbertNHS committed Oct 23, 2023
1 parent 29e06b6 commit 51f7ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const DocumentSearchResultsOptions = (props: Props) => {
nhsNumber: props.nhsNumber,
baseUrl: baseUrl,
baseHeaders,
docType: DOCUMENT_TYPE.ARF,
docType: DOCUMENT_TYPE.ALL,
});

const filename = `patient-record-${props.nhsNumber}`;
Expand Down
1 change: 1 addition & 0 deletions app/src/types/pages/UploadDocumentsPage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export enum UPLOAD_STAGE {
export enum DOCUMENT_TYPE {
LLOYD_GEORGE = 'LG',
ARF = 'ARF',
ALL = 'LG,ARF',
}

export enum DOCUMENT_UPLOAD_STATE {
Expand Down

0 comments on commit 51f7ef6

Please sign in to comment.