summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-07-28 16:09:48 +0200
committerAndras Timar <andras.timar@collabora.com>2024-02-10 20:46:21 +0100
commit5a148566334ff8e93c62305477c4547453875e76 (patch)
tree6ee6a70f5e5ef86b538854372e3f5dc89d54b73f
parent4222e24bbf67bb12715ddbe8b2ef04298eff4bad (diff)
[cp] Xapian Omega setup for help.collaboraoffice.com
Change-Id: Iaa28803be627db8915e7f426b400ac3b26e7b3a2
-rw-r--r--help3xsl/online_transform.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 884b0734a7..122823575b 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -225,7 +225,10 @@
<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">
+ <form name="P" method="get" action="/cgi-bin/omega/omega" target="_top">
+ <input type="hidden" name="DB" value="{$lang}2404"/>
+ <input type="hidden" name="FMT" value="cp-query"/>
+ <input type="hidden" name="DEFAULTOP" value="and"/>
<input id="omega-autofocus" type="search" name="P" placeholder="{$ui_pholderfullsearch}" dir="auto"/>
<input type="submit" class="xapian-omega-search-button" value="&#x1f50d;"/>
</form>