Make sure snippet uses the same search result build as node search

Created on 24 February 2017, over 7 years ago
Updated 30 January 2024, 5 months ago

Problem/Motivation

In Snippet.php, in the render method the search result was not prepared as in the node search plugin for example, therefore the title with link to the content was not rendered.
Furthermore the language was in a "todo" state and the problem should be addressed also.

Proposed resolution

Refactor the code, to remove unused imports and deprecated methods from the Snippet class.
Apply language negotiation, and use the theme to have a consistent approach regarding the default search result implementation.

πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania bogdan.racz

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡©πŸ‡ͺGermany Schoenef Unna

    As this is 7 years od, I close it as outdated - the general idea seems valid, but please reopen with a new patch if this is still required.

Production build 0.69.0 2024