diff --git a/packages/core/src/components/Collection/Collection.tsx b/packages/core/src/components/Collection/Collection.tsx index 91032fb0..dd033429 100644 --- a/packages/core/src/components/Collection/Collection.tsx +++ b/packages/core/src/components/Collection/Collection.tsx @@ -89,10 +89,7 @@ const CollectionView = ({ let url = 'fields' in collection && collection.create ? getNewEntryUrl(collectionName) : ''; if (url && filterTerm) { - url = getNewEntryUrl(collectionName); - if (filterTerm) { - url = `${newEntryUrl}?path=${filterTerm}`; - } + url = `${url}?path=${filterTerm}`; } return url;