Support relationship entity

Created on 23 November 2023, about 1 year ago
Updated 22 February 2024, 10 months ago

Problem/Motivation

"Show only used terms" does not work on filters that use relationships.

Steps to reproduce

  1. Add the Profile relationship on the People admin page (/admin/people).
  2. Add an exposed filter for the country: Profile: Address (address:country_code)
  3. Apply the "Show only used terms" option in the Exposed form options.

Proposed resolution

I have attached a patch that checks and retrieves the relationship entity if the filter is using it.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇷🇸Serbia norbert-goco Subotica

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024