Fix textSearch regex

This commit is contained in:
Piotr Rogowski 2022-10-16 13:35:45 +02:00
parent b57b55c9eb
commit f4f90827f6
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ const UploadPage = () => {
year, year,
].filter((field) => field !== null && `${field}`.length > 1) ].filter((field) => field !== null && `${field}`.length > 1)
.join(' ') .join(' ')
.replace(/[^A-z\d ]/g, ''), .replace(/[^A-z.\-\d ]/g, ''),
}); });
setIsLoading(false); setIsLoading(false);
setIsPublished(true); setIsPublished(true);