diff --git a/src/fragmentarium/ui/SearchForm.tsx b/src/fragmentarium/ui/SearchForm.tsx index 2b52f5e11..9a8243b53 100644 --- a/src/fragmentarium/ui/SearchForm.tsx +++ b/src/fragmentarium/ui/SearchForm.tsx @@ -171,7 +171,7 @@ class SearchForm extends Component { : '', scriptPeriod: state.scriptPeriod, genre: state.genre, - site: state.site ? state.site.split(' ')[0] : '', + site: state.site ? state.site.split(/\[|\]/)[0] : '', project: state.project, }, (value) => !value