Patch release notes for Workarea 3.1.39.
Fix Scroll Position Bug for Pagination in Chrome for iOS
Replace the usage of
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
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!
Prevent Indexing of Unplaced Orders
IndexPaymentTransactions worker did not previously check whether
the record should be indexed before trying to index it. This caused
unplaced orders to appear in the admin index. To remedy this, Workarea
#should_be_indexed? on the search model prior to saving it
Only Link Primary Navigation for Navigable Taxons
Taxons that are not navigable cannot be rendered with a
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
.primary-nav__link classes as the primary nav links in place
<a> tags so these items are not clickable, but can be styled the
same as regular links.
Discovered by Mark Platt.