-
Notifications
You must be signed in to change notification settings - Fork 0
Fixed incorrect enquiry and submission search for contact history #279
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
Conversation
getContact(contactId: string, includeActivities?: boolean): Promise<AxiosResponse> { | ||
const params = includeActivities === undefined ? {} : { includeActivities }; | ||
return appAxios().get(`${PATH}/${contactId}`, { params }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could default includeActivities
to false
?
e2b0b9e
to
07cd53c
Compare
07cd53c
to
e63fe16
Compare
<Column | ||
field="intakeStatus" | ||
field="applicationStatus" | ||
header="Activity status" | ||
:sortable="true" | ||
style="min-width: 150px" | ||
/> | ||
> | ||
<template #body="{ data }"> | ||
{{ 'submissionId' in data ? data.applicationStatus : data.enquiryStatus }} | ||
</template> | ||
</Column> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorting will not work with enquiry status here as the field will be undefined. I think the only way to get around this though is to create two separate columns, or merge the two data points into one before mounting.
4136122
to
aa7c78d
Compare
…ded removable sort for all data tables with sorting
aa7c78d
to
7654460
Compare
Description
Fixed incorrect enquiry and submission search for contact history so that contacts with no user attachment have correct history and so that any nav created submissions are still connected to the correct contact.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist
Further comments