Add ability to search link fields

Created on 22 July 2021, over 3 years ago
Updated 21 December 2024, 16 days ago

Problem/Motivation

Currently you can only scan fields of these types: 'string', 'text_with_summary', 'text', 'text_long'.

It'd be cool if you could search link fields too.

Proposed resolution

Since the "value" of a link fields is the url, getting to the place where you can search for urls in link fields is a pretty light-weight piece of code. A more intelligent version, where you could search url, title, and options, could come later?

Remaining tasks

Supply and approve patch to allow links to be searched and replaced.

User interface changes

New checkboxes on /admin/config/content/scanner for link fields.

API changes

Scanner Plugins should implement a "link" conditional in the search and replace methods.

Data model changes

None

โœจ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mariacha1

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024