The code in scanner-results.html.twig needs to be generic instead of hardcoded to only work with nodes - several issues will benefit from this change.

Issue fork scanner-3577915

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

damienmckenna created an issue. See original summary.

damienmckenna’s picture

Title: Make results entity-generic » Make results entity-type agnostic
damienmckenna’s picture

Title: Make results entity-type agnostic » Make results display entity-type agnostic

velmir_taky made their first commit to this issue’s fork.

velmir_taky’s picture

Status: Active » Needs review
damienmckenna’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

This is great, thank you!

Let's expand the test coverage to verify the "view" and "edit" links appear.

velmir_taky’s picture

Status: Needs work » Needs review

Added test coverage: verifies that search results display the node title and dynamic view/edit links.

damienmckenna’s picture

Status: Needs review » Fixed
Issue tags: -Needs tests

Excellent, thank you!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.