Workarea 3.0.52
Patch release notes for Workarea 3.0.52.
Fix Scroll Position Bug for Pagination in Chrome for iOS
Replace the usage of replaceState
with pushState
so Chrome for iOS
will properly recall the scroll position of the previous page when
visiting a product from search results. This is caused by Chrome not
being capable of replacing state of a History
object that doesn't yet
exist.
Issues
Pull Requests
Commits
Return More Than 10 Results in Product Categories Admin
When finding categories for a product, provide a :size
parameter equal
to the total count of all categories, so that any category on the system
that matches the product by rules can be viewed on the product's admin
page. Previously, since no :size
param was applied, Elasticsearch
defaulted to returning 10 results.
Discovered (and solved) by Steph Staub. Thanks Steph!
Issues
Pull Requests
Commits
Only Link Primary Navigation for Navigable Taxons
Taxons that are not navigable cannot be rendered with a #link_to
,
because the href argument passed into the helper is nil
and Rails is
converting that to the URL of the current page, making it appear as
though the link is pointing to the wrong place. Use <span>
tags with
the same .primary-nav__link
classes as the primary nav links in place
of <a>
tags so these items are not clickable, but can be styled the
same as regular links.
Discovered by Mark Platt.