diff --git a/backend/src/modules/documents/repositories/document-contract-list-view.repository.ts b/backend/src/modules/documents/repositories/document-contract-list-view.repository.ts index a5556d2e..d63cbddc 100644 --- a/backend/src/modules/documents/repositories/document-contract-list-view.repository.ts +++ b/backend/src/modules/documents/repositories/document-contract-list-view.repository.ts @@ -91,7 +91,10 @@ export class DocumentContractListViewRepository extends RepositoryWithPagination if (search) { query.andWhere( this.buildBracketSearchQuery( - ['documentContractListView.documentNumber', 'user.name'], + [ + 'documentContractListView.documentNumber', + 'documentContractListView.volunteerName', + ], search, ), ); diff --git a/frontend/src/components/AutoFillContractCard.tsx b/frontend/src/components/AutoFillContractCard.tsx index a6b24e79..ef69cea6 100644 --- a/frontend/src/components/AutoFillContractCard.tsx +++ b/frontend/src/components/AutoFillContractCard.tsx @@ -64,57 +64,63 @@ export const AutoFillContractCard = ({ onSubmit }: AutoFillContractCardProps) =>
{t('title')}
{t('description')}
-