[Libreoffice-commits] help.git: Branch 'distro/collabora/cp-6.4' - help3xsl/online_transform.xsl

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 28 14:10:15 UTC 2020


 help3xsl/online_transform.xsl |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 10b9ba1bcbe7087bc2e7b338d4e35130b1f5c873
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Jul 28 16:09:48 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Jul 28 16:09:48 2020 +0200

    [cp] Xapian Omega setup for help.collaboraoffice.com
    
    Change-Id: Iaa28803be627db8915e7f426b400ac3b26e7b3a2

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 849a77f2e..9e7e376f7 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -225,8 +225,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}64"/>
+                        <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="&#x1f50d;"/>
                     </form>
                 </div>


More information about the Libreoffice-commits mailing list