Skip to content

Search not working in a link field #4591

Discussion options

You must be logged in to vote

Fieldtypes like the Link fieldtype or the Entry fieldtype don't make use of Statamic's search functionality (which is what you're updating the config for).

The code for doing search in the fieldtypes are pretty dumb (with it hard coded to search the entry title) - see: https://github.com/statamic/cms/blob/3.2/src/Fieldtypes/Entries.php#L145

Unfortunatley, that means right now I don't think there's a way to get what you're trying to do to work.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@duncanmcclean
Comment options

@ARCHES-Academy
Comment options

Answer selected by duncanmcclean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants