diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index 3444a2ff8b..7104e90493 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -77,13 +77,11 @@ $fetch.loaded && !Object.keys($fetch.query?.string || {}).length && !$fetch.hasNextPage - if (!allRowsFetched) { - // Don't request until we have the primary display - if (primaryDisplay) { - fetch.update({ - query: { string: { [primaryDisplay]: searchTerm } }, - }) - } + // Don't request until we have the primary display + if (!allRowsFetched && primaryDisplay) { + fetch.update({ + query: { string: { [primaryDisplay]: searchTerm } }, + }) } }