Uploaded image for project: 'Magnolia Shop (closed)'
  1. Magnolia Shop (closed)
  2. MSHOP-30

Adding a product to the shopping cart from the search result list clears the list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 1.1.1
    • None
    • None

    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;
          }
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              tmiyar Teresa Miyar
              will Will Scheidegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - 1h
                    1h
                    Remaining:
                    Remaining Estimate - 1h
                    1h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified