Skip to content
Snippets Groups Projects
Commit 015cb974 authored by Brad Garner's avatar Brad Garner
Browse files

Issue #3266343: Complete logic for searching all languages

In several places, the existence of multiple translations of
a given Node or Paragraph is now taken into account when searching.
Also, render array now includes URLs for viewing and editing
Nodes associated with these matches; default logic in
Twig template was not taking multiple languages into account.

WIP. Replace and undo methods still not fully evaluated for
correctness in light of multiple languages.

This edit is minimally invasive. A few early returns were
added for refactoring, but that was only to make the logic
easier to follow and to be less nested. These methods still
contain considerable duplicated code which could likely
be refactored into the Entity base class, but that is a
separate issue.
parent ea38025e
No related branches found
No related tags found
1 merge request!40Draft: Take translations into account to find and replace searched text
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment