Support sorting by term weight for aggregated fields

Created on 15 May 2021, almost 4 years ago
Updated 2 November 2023, over 1 year ago

Problem/Motivation

When creating a facet from an aggregated field that is based on a taxonomy term it is no longer possible to order by taxonomy term weight.

Facets currently partially supports the use of entities in aggregation with the TranslateEntityAggregatedFieldProcessor so it feels like it could also be within the scope of the module to support ordering within aggregated fields.

Proposed resolution

Create a TermWeightAggregatedWidgetOrderProcessor processor which would only operate on aggregated fields where the fields attached referenced entitiy_reference taxonomy term fields.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom andy_w

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024