Author: jleroux
Date: Sun Jun 20 09:41:59 2010
New Revision: 956340
URL:
http://svn.apache.org/viewvc?rev=956340&view=revLog:
Fix a bug 1st reported by Sharan on user ML and wrongly fixed by me (I mixed the lines :/), then reported again by BJ at "keywordsearchbox looks up category instead of product" (
https://issues.apache.org/jira/browse/OFBIZ-3827) - OFBIZ-3827
I fixed it by hand, BJ's patch was not enough
Modified:
ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl?rev=956340&r1=956339&r2=956340&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl Sun Jun 20 09:41:59 2010
@@ -41,7 +41,7 @@ under the License.
</div>
<div>
<label for="keywordSearchCategoryId">${uiLabelMap.ProductCategoryId}:</label>
- <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="keywordsearchform" name="SEARCH_CATEGORY_ID" id="keywordSearchCategoryId" fieldFormName="LookupProduct"/>
+ <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="keywordsearchform" name="SEARCH_CATEGORY_ID" id="keywordSearchCategoryId" fieldFormName="LookupProductCategory"/>
</div>
<div>
<label for="keywordSearchCointains">${uiLabelMap.CommonNoContains}</label>
@@ -71,7 +71,7 @@ under the License.
<fieldset>
<input type="hidden" name="viewSize" value="20" />
<input type="hidden" name="viewIndex" value="1" />
- <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProductCategory"/>
+ <@htmlTemplate.lookupField value="${requestParameters.productId?if_exists}" formName="productjumpform" name="productId" id="productJumpFormProductId" fieldFormName="LookupProduct"/>
<select name="DUMMYPAGE" id="dummyPage" onchange="submitProductJump()">
<option value="<@ofbizUrl>EditProduct</@ofbizUrl>">-${uiLabelMap.ProductProductJump}-</option>
<option value="<@ofbizUrl>EditProductQuickAdmin</@ofbizUrl>">${uiLabelMap.ProductQuickAdmin}</option>