Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] website_sale_search_autocomplete: New module #157

Closed

Conversation

lasley
Copy link
Contributor

@lasley lasley commented Feb 1, 2017

This module utilizes OCA/website/website_field_autocomplete to add an autocomplete to the search for website_sale.

The drawback to the current implementation is that the products autocomplete is being appended into the website search, because there isn't an input specifically for the products search. I'm honestly not sure what other contexts this search is used in, but I'm pretty sure this could have unintended consequences somewhere.

The only thing I can think of is to recreate the input element in this module, but that kind of circumvents the whole centralization of the search field which I think would be a bad choice. Pretty sure there's no such thing as a mode="primary" for templates to copy like we have in the backend, which would be perfect here.

This does work FWIW, so unless someone can point me to some other uses for the search that I'm not considering, this is good for review.

* Create new module to provide autocomplete for E-Commerce search using website_field_autocomplete
@lasley lasley force-pushed the release/9.0/website_sale_search_autocomplete branch from b6f38e3 to 034871c Compare February 1, 2017 23:52
@lasley
Copy link
Contributor Author

lasley commented Feb 2, 2017

Note that if you actually perform a search, you will get a 500. This is unrelated and reported in #158

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 14, 2021
eLBati added a commit to eLBati/e-commerce that referenced this pull request Nov 29, 2021
@github-actions github-actions bot closed this Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant