diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-07-28 16:09:48 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-02-14 13:59:00 +0100 |
commit | e44fc61ece893a7c23059ede989bf19e61adf29c (patch) | |
tree | dbe7965c4e828114716efc74755a2d98002d4977 | |
parent | 354106a6922594c853fd0836b431f0e821e0a9e9 (diff) |
[cp] Xapian Omega setup for help.collaboraoffice.com
Change-Id: Iaa28803be627db8915e7f426b400ac3b26e7b3a2
-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 5e96aa1dd2..23b4240511 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -243,8 +243,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" dir="auto"/> + <form name="P" method="get" action="/cgi-bin/omega/omega" target="_top"> + <input type="hidden" name="DB" value="{$lang}2305"/> + <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> |