Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you set a soft limit on a facet, it just considers the number of found items to decide whether to add a Show More link.
Currently in soft-limit.js
// Add "Show more" / "Show less" links.
facetsList.once().filter(function () {
return $(this).find('li').length > limit;
}).each(function (facet) {...
For hierarchical facets, it should consider the first level items only (or some other logic if made configurable).
Comment | File | Size | Author |
---|---|---|---|
#2 | soft_limit_does_not-2883298-2.patch | 487 bytes | borisson_ |
Comments
Comment #2
borisson_Untested, but in theory this should fix that issue.
Comment #4
borisson_AlreadyInstalledException
, retestingComment #5
borisson_Comment #7
borisson_