Problem/Motivation

In the core Help Topics module, we have added a search form to admin/help, which as an administrative page uses the default admin theme (e.g. Seven). It is somewhat jarring to enter a search term at admin/help in Seven and then see the results show up in a different theme (front-facing theme, e.g. Bartik).

Proposed resolution

The search results should display in the same theme as the search form that was used to submit the search. The search form provider should be able to specify the theme in which the results will display. (Or some other solution.)

Remaining tasks

- Figure out a solution
- Do it.
- Test with User, Node, and Help Topics searches.

User interface changes

We would have the ability to display search results in the administrative theme if the search form is on the admin theme. For example, Help Topics search results would display in the admin theme.

API changes

- Possibly change here in that search form providers might be able to specify a theme for search results to display on.

Data model changes

- None.

Release notes snippet

- TODO

Original report by Amber Himes Matz

Originally reported in the Add search capability to help topics issue, comment #150 by Amber Himes Matz.

Comments

Amber Himes Matz created an issue. See original summary.

andypost’s picture

amber himes matz’s picture

Status: Active » Closed (duplicate)

Closing as duplicate of #3086794.

Version: 9.x-dev » 9.0.x-dev

The 9.0.x branch will open for development soon, and the placeholder 9.x branch should no longer be used. Only issues that require a new major version should be filed against 9.0.x (for example, removing deprecated code or updating dependency major versions). New developments and disruptive changes that are allowed in a minor version should be filed against 8.9.x, and significant new features will be moved to 9.1.x at committer discretion. For more information see the Allowed changes during the Drupal 8 and 9 release cycles and the Drupal 9.0.0 release plan.