[MSHOP-30] Adding a product to the shopping cart from the search result list clears the list Created: 12/Sep/12 Updated: 22/Jan/13 Resolved: 22/Oct/12 |
|
| Status: | Closed |
| Project: | Magnolia Shop (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Will Scheidegger | Assignee: | Teresa Miyar |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 1h | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 1h | ||
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
The search term should be stored in the users session and be reused if no search term can be found in the query parameters. Here's a "patch" for ProductListTypeSearch: protected String getQueryStr() { String queryString = MgnlContext.getParameter("queryProductsStr"); if (StringUtils.isBlank(queryString)) { queryString = (String) MgnlContext.getWebContext().getRequest().getSession(true).getAttribute(QUERY_STRING_SESSION_VAR_NAME); } else { MgnlContext.getWebContext().getRequest().getSession(true).setAttribute(QUERY_STRING_SESSION_VAR_NAME, queryString); } return queryString; } |
| Comments |
| Comment by Teresa Miyar [ 22/Oct/12 ] |
|
Resolved by |