Skip to content

Commit e0ea486

Browse files
MamadukaSirLouenyashjawale
authored andcommitted
Core Data: Define record title getter for taxonomy entities (#70863)
Unlinked contributors: bvlgn. Co-authored-by: Mamaduka <[email protected]> Co-authored-by: SirLouen <[email protected]> Co-authored-by: yashjawale <[email protected]>
1 parent 8ef349f commit e0ea486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core-data/src/entities.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ async function loadTaxonomyEntities() {
379379
baseURLParams: { context: 'edit' },
380380
name,
381381
label: taxonomy.name,
382+
getTitle: ( record ) => record?.name,
382383
};
383384
} );
384385
}

0 commit comments

Comments
 (0)