Add an option to get only parent terms

Created on 19 October 2022, over 1 year ago
Updated 13 October 2023, 9 months ago

Problem/Motivation

There are often very meaty vocabularies and maybe you only need to filter by parents.

Proposed resolution

I've added a "Show only parents" option inside the SettingsForm. If enabled the permissions_by_term_form_user_form_alter function, during all terms obtaining, will filter the list for all terms with parent = 0 (that means that has no parents).

User interface changes

Just another checkbox into the Settings page.

✨ Feature request
Status

Fixed

Version

3.1

Component

Code

Created by

🇮🇹Italy reinchek Napoli 🌋, 🇮🇹

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.69.0 2024