Skip to content

feat: Search Page and topbar search#21

Open
ralflang wants to merge 2 commits into
FRAMEWORK_6_0from
feat/search-page
Open

feat: Search Page and topbar search#21
ralflang wants to merge 2 commits into
FRAMEWORK_6_0from
feat/search-page

Conversation

@ralflang
Copy link
Copy Markdown
Member

Full Text Search

Add search page to sidebar (configurable in conf.xml, new feature)
Restore topbar search in modern PageOutput / Topbar controller helpers. (fix closes #20)

Copy link
Copy Markdown
Contributor

@TDannhauer TDannhauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm some findings. something to improve?

Empty search: footer removed — Previously, with no query, the page returned pagelist/search + pagelist/footer. The PR returns only pagelist/search. If footer carried navigation or legal text not present in the global layout, that could be a small regression; if the theme already prints a global footer, dropping the duplicate is fine. Worth a quick manual check in the real skin.

Redundant Horde_View on the results path (pre-existing, slightly amplified) — In current Search.php, the first $injector->createInstance('Horde_View') is unused when $searchtext is non-empty; a second Horde_View is created for rendering. The PR sets searchtext on both the first and second instance; the first assignment is still unused for output. Optional cleanup: only create/set the view that actually renders pagelist/search, or reuse one instance end-to-end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search pages for text feature disappeared

2 participants