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

Clear Filter Button not working #2262

Closed
revlis-x opened this issue Jan 19, 2019 · 2 comments
Closed

Clear Filter Button not working #2262

revlis-x opened this issue Jan 19, 2019 · 2 comments
Assignees

Comments

@revlis-x
Copy link

revlis-x commented Jan 19, 2019

Current behavior

In the mobile view of the filters, there is a "Clear"-Button to reset the filters. Clicking this returns a 500 Server Error from vsf-api and filters are not reset.

Expected behavior

Category is reset to non-filtered view.

Steps to reproduce the issue

This is reproducable on https://demo.storefrontcloud.io
-> click filter reset button on mobile view.

Can you handle fixing this bug by yourself?

Unfortunately not.

Additional information

Request goes for example to https://demo.storefrontcloud.io/api/catalog/vue_storefront_catalog/product/_search?size=50&from=0&sort=&_source_exclude=description,sgn,*.sgn,msrp_display_actual_price_type,*.msrp_display_actual_price_type,required_options&_source_include=type_id,sku,name,tax_class_id,special_price,special_to_date,special_from_date,price,priceInclTax,originalPriceInclTax,originalPrice,specialPriceInclTax,id,image,sale,new,configurable_children.image,configurable_children.sku,configurable_children.price,configurable_children.special_price,configurable_children.priceInclTax,configurable_children.specialPriceInclTax,configurable_children.originalPrice,configurable_children.originalPriceInclTax,configurable_children.color,configurable_children.size,configurable_children.id,configurable_children.tier_prices,product_links,url_key,status,tier_prices&request=undefined

Problem seems to be caused by request=undefined param.

@pkarw
Copy link
Collaborator

pkarw commented Jan 19, 2019

Thanks! @patzick @vue-kacper can You please check this one?
Moreover - I’ve observed that on demo there’s is no “women” category :-) it looks like something went wrong with the import
@patzick maybe You’d run “yarn db new” before importing as it may be caused some differences in the elastic scheme

Thanks for reporting this issue, we’ll fix it

@vue-kacper
Copy link
Contributor

@pkarw done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants