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.

CommentFileSizeAuthor
#1 facetapi-1367964-1.patch1.96 KBcpliakas
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cpliakas’s picture

Status: Active » Needs review
FileSize
1.96 KB

Attached patch adds requirements to sort info.

cpliakas’s picture

Component: Accessibility » Code

Changing component.

cpliakas’s picture

Status: Needs review » Fixed

The change is backwards compatible, so it has been committed at http://drupalcode.org/project/facetapi.git/commit/a4801d3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.