Fix textSearch regex
This commit is contained in:
parent
b57b55c9eb
commit
f4f90827f6
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue