Author: ashish
Date: Sat Nov 15 13:59:10 2014
New Revision: 1639885
URL: http://svn.apache.org/r1639885
Log:
Applied bug fix from trunk r1639884.
Applied patch from jira issue - OFBIZ-4655 - searchCategory is not available in
results in keywordsearch.groovy
Thanks Kiran for reporting the issue and thanks Deepak for providing the patch
for this issue.
Modified:
ofbiz/branches/release13.07/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy
ofbiz/branches/release13.07/applications/product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy
ofbiz/branches/release13.07/applications/product/webapp/catalog/find/keywordsearch.ftl
Modified:
ofbiz/branches/release13.07/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy?rev=1639885&r1=1639884&r2=1639885&view=diff
==============================================================================
---
ofbiz/branches/release13.07/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy
(original)
+++
ofbiz/branches/release13.07/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy
Sat Nov 15 13:59:10 2014
@@ -42,6 +42,5 @@ context.lowIndex = result.lowIndex;
context.highIndex = result.highIndex;
context.paging = result.paging;
context.previousViewSize = result.previousViewSize;
-context.searchCategory = result.searchCategory;
context.searchConstraintStrings = result.searchConstraintStrings;
context.searchSortOrderString = result.searchSortOrderString;
Modified:
ofbiz/branches/release13.07/applications/product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy?rev=1639885&r1=1639884&r2=1639885&view=diff
==============================================================================
---
ofbiz/branches/release13.07/applications/product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy
(original)
+++
ofbiz/branches/release13.07/applications/product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy
Sat Nov 15 13:59:10 2014
@@ -47,6 +47,5 @@ context.lowIndex = result.lowIndex;
context.highIndex = result.highIndex;
context.paging = result.paging;
context.previousViewSize = result.previousViewSize;
-context.searchCategory = result.searchCategory;
context.searchConstraintStrings = result.searchConstraintStrings;
context.searchSortOrderString = result.searchSortOrderString;
Modified:
ofbiz/branches/release13.07/applications/product/webapp/catalog/find/keywordsearch.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/webapp/catalog/find/keywordsearch.ftl?rev=1639885&r1=1639884&r2=1639885&view=diff
==============================================================================
---
ofbiz/branches/release13.07/applications/product/webapp/catalog/find/keywordsearch.ftl
(original)
+++
ofbiz/branches/release13.07/applications/product/webapp/catalog/find/keywordsearch.ftl
Sat Nov 15 13:59:10 2014
@@ -22,7 +22,7 @@ under the License.
</div>
<div class="screenlet-body">
<#list searchConstraintStrings as searchConstraintString>
- <div> <a
href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&clearSearch=N</@ofbizUrl>"
class="buttontext">X</a> ${searchConstraintString}</div>
+ <div> <a
href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&clearSearch=N&SEARCH_CATEGORY_ID=${parameters.SEARCH_CATEGORY_ID!}</@ofbizUrl>"
class="buttontext">X</a> ${searchConstraintString}</div>
</#list>
<span
class="label">${uiLabelMap.CommonSortedBy}:</span>${searchSortOrderString}
<div><a
href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(requestParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>"
class="buttontext">${uiLabelMap.CommonRefineSearch}</a></div>