This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 42a6171  Fixed: Alternate KeyWord Thesaurus functionality does not 
work properly. (OFBIZ-11291)
42a6171 is described below

commit 42a6171580fdd7a8ddbb2f45f78257ff2d5ef1af
Author: Michael Brohl <[email protected]>
AuthorDate: Tue Feb 18 10:08:36 2020 +0100

    Fixed: Alternate KeyWord Thesaurus functionality does not work properly.
    (OFBIZ-11291)
    
    Thanks Pawan Verma for reporting and Wiebke Pätzold for providing the
    patch.
---
 applications/product/template/thesaurus/EditKeywordThesaurus.ftl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/applications/product/template/thesaurus/EditKeywordThesaurus.ftl 
b/applications/product/template/thesaurus/EditKeywordThesaurus.ftl
index 55f79c4..b7ccb91 100644
--- a/applications/product/template/thesaurus/EditKeywordThesaurus.ftl
+++ b/applications/product/template/thesaurus/EditKeywordThesaurus.ftl
@@ -54,15 +54,14 @@ under the License.
                 </#if>
                 <tr valign="middle"<#if "1" == rowClass> 
class="alternate-row"</#if>>
                   <td>
-                    <form method="post" 
action="<@ofbizUrl>createKeywordThesaurus</@ofbizUrl>">
                       <div>
                         ${keyword.enteredKeyword}
                         <form method="post" 
action="<@ofbizUrl>deleteKeywordThesaurus</@ofbizUrl>" 
name="deleteKeywordThesaurus">
                           <input type="hidden" name="enteredKeyword" 
value="${keyword.enteredKeyword}" />
-                          <input type="hidden" name="alternateKeyword" 
value="${keyword.alternateKeyword}" />
                           <input type="submit" 
value="${uiLabelMap.CommonDeleteAll}" />
                         </form>
                       </div>
+                    <form method="post" 
action="<@ofbizUrl>createKeywordThesaurus</@ofbizUrl>">
                       <div>
                         <input type="hidden" name="enteredKeyword" 
value="${keyword.enteredKeyword}" />
                         <span 
class="label">${uiLabelMap.ProductAlternate}</span><input type="text" 
name="alternateKeyword" size="10" />

Reply via email to