Skip to content

Commit 59f7ae0

Browse files
committed
Fix series not loading
Apparently our textFilter is now automatically treated as wildcard search and the "*" we used to trigger wildcard search are now breaking it, so we can just remove them.
1 parent db79be5 commit 59f7ae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/shared/wizard/RenderField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ const EditableSingleSelectSeries = ({
366366

367367
// Fetch collection
368368
const fetchOptions = async (inputValue: string) => {
369-
const res = await axios.get<{ [key: string]: string }>(`/admin-ng/resources/SERIES.WRITE_ONLY.json?filter=textFilter:*${inputValue}*`);
369+
const res = await axios.get<{ [key: string]: string }>(`/admin-ng/resources/SERIES.WRITE_ONLY.json?filter=textFilter:${inputValue}`);
370370
const data = res.data;
371371
return transformListProvider(data);
372372
};

0 commit comments

Comments
 (0)