Skip to content

[Backport] fix: support multiple minisearch widget instances#15739

Merged
magento-engcom-team merged 1 commit intomagento:2.1-developfrom
vijay-wagento:2.1-develop-PR-port-15485
Jun 5, 2018
Merged

[Backport] fix: support multiple minisearch widget instances#15739
magento-engcom-team merged 1 commit intomagento:2.1-developfrom
vijay-wagento:2.1-develop-PR-port-15485

Conversation

@vijay-wagento
Copy link
Copy Markdown

Original Pull Request

#15485

Description

When cloning the minisearch widget and changing the ID's and selectors they still trigger all instances as the label searchLabel is globally searched instead of in the form.

Manual testing scenarios

  1. clone module-search/view/frontend/templates/form.mini.phtml
  2. add custom block with the cloned and changed minisearch widget (after changing ID's and selectors in it)
  3. click on search icon on mobile

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team
Copy link
Copy Markdown
Contributor

Hi @vijay-wagento. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.1.15 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Frontend Component: Search Partner: Wagento Pull Request is created by partner Wagento partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants