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.
Based on the use case illustrated in #1361284: Add the ability to sort taxonomy facets by their term weight, it would be helpful to add the requirements system to the sort items so certain sorts are available to a sub-selection of facets. In this case, only add the taxonomy weight sort to facets indexing taxonomy terms.
Comment | File | Size | Author |
---|---|---|---|
#1 | facetapi-1367964-1.patch | 1.96 KB | cpliakas |
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedAttached patch adds requirements to sort info.
Comment #2
cpliakas CreditAttribution: cpliakas commentedChanging component.
Comment #3
cpliakas CreditAttribution: cpliakas commentedThe change is backwards compatible, so it has been committed at http://drupalcode.org/project/facetapi.git/commit/a4801d3.