Skip to content

Fix search SKO issues#6747

Merged
mitchelsellers merged 1 commit intodnnsoftware:developfrom
Timo-Breumelhof:feature/6712-Search-Sko
Oct 2, 2025
Merged

Fix search SKO issues#6747
mitchelsellers merged 1 commit intodnnsoftware:developfrom
Timo-Breumelhof:feature/6712-Search-Sko

Conversation

@Timo-Breumelhof
Copy link
Copy Markdown
Contributor

Summary

The Search Them Object Search button does not point you to the correct URL. See #6712

The issue is this:
On this line

this.Response.Redirect(this.navigationManager.NavigateURL(searchTabId, "Search=" + WebUtility.UrlEncode(searchText)));

Uses

string NavigateURL(int tabID, string controlKey);

Where the second parameter is a controlkey string, resulting in the /ctl/search url reported in the Issue as the QS parameter is interpreted as Control Key.

I changed this to use

string NavigateURL(int tabID, string controlKey, params string[] additionalParameters);

BTW, also changed "Search" to "search" as that's what will be in the resulting url.

Fixes #6712

@bdukes bdukes added this to the 10.1.2 milestone Oct 2, 2025
@mitchelsellers mitchelsellers merged commit 0c2f776 into dnnsoftware:develop Oct 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Search Theme Object is not working

3 participants