diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-07-28 16:09:48 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-03-31 19:04:19 +0200 |
commit | f29a89ac06b0465c74efe1923fadc7cee64e34ff (patch) | |
tree | 8815ce49bd6892e8408883c16ae4eb50e546e47c /help3xsl | |
parent | 1b6cf494abd3c3892d071c41e6cb2c248340a8db (diff) |
[cp] Xapian Omega setup for help.collaboraoffice.com
Change-Id: Iaa28803be627db8915e7f426b400ac3b26e7b3a2
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 79390d7c1f..0f70329c15 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -229,8 +229,11 @@ <xsl:if test="$online"> <xsl:if test="$xapian='yes'"> <div class="xapian-omega-search"> - <form name="P" method="get" action="/{$productversion}/{$lang}/search" target="_top"> - <input id="omega-autofocus" type="search" name="P"/> + <form name="P" method="get" action="/cgi-bin/omega/omega" target="_top"> + <input type="hidden" name="DB" value="{$lang}2021"/> + <input type="hidden" name="FMT" value="cp-query"/> + <input type="hidden" name="DEFAULTOP" value="and"/> + <input id="omega-autofocus" type="search" name="P" size="65"/> <input type="submit" class="xapian-omega-search-button" value="🔍"/> </form> </div> |