Changes for page Home

Last modified by Isaac Mejia on 2025/12/15 18:27

From version 25.1
edited by Isaac Mejia
on 2025/12/05 18:13
Change comment: There is no comment for this version
To version 28.1
edited by Isaac Mejia
on 2025/12/09 16:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -116,15 +116,16 @@
116 116  
117 117   <!-- Enhanced search box (still uses XWiki search under the hood) -->
118 118   <div class="kb-hero-search">
119 - <form action="$xwiki.getURL('Main.WebHome', 'view')" method="get">
120 - <input
121 - type="text"
122 - name="text"
123 - placeholder="Search for an article (e.g. &quot;family membership&quot;)"
124 - aria-label="Search the knowledge base"
125 - />
126 - </form>
127 - </div>
119 + <form action="$xwiki.getURL('', 'view', 'xpage=search')" method="get">
120 + ## XWiki Solr search expects the "text" parameter
121 + <input
122 + type="text"
123 + name="text"
124 + placeholder="Search for an article (e.g. &quot;family membership&quot;)"
125 + aria-label="Search the knowledge base"
126 + />
127 + </form>
128 +</div>
128 128   </div>
129 129  
130 130   <!-- CATEGORY GRID -->