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

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


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

commit 32ce2ad006b6ab4ce102259887183d99184f9634
Author: Michael Brohl <mbr...@apache.org>
AuthorDate: Tue Feb 18 10:10:24 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