? ? Pending

User tests: Successful: Unsuccessful:

avatar mattiaverga
mattiaverga
12 May 2019

Summary of Changes

This PR will add a new filter to the administration page of com_tags which makes possible to list only tags under a specific root tag.
This is useful when having a complex tag tree with a lot of levels: it lets you focus only on the desired root tag and its subtags.
When applied, the filter uses a recursive query to create a table with the subset of the root tag and its sub-tags, then the other filters are applied on this temporary table to get the final result.

Testing Instructions

Create some main level tags and some nested tags under them.
Use the new filter tab to list only tags under one main tag (or under one of the nested tags).

Expected result

When the filter is applied, the lists should show only the root tag and its child tags.

Actual result

There is no such option to achieve that.

Documentation Changes Required

The help section about com_tags should be updated with a paragraph for the new filter.

avatar mattiaverga mattiaverga - open - 12 May 2019
avatar mattiaverga mattiaverga - change - 12 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2019
Category com_tags Administration Language & Strings
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 May 2019

new Features goes in J4, please rebase on J4 - for this Reason closing PR.

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 May 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-05-12 13:57:09
Closed_By franz-wohlkoenig
Labels Added: ? ?
avatar franz-wohlkoenig franz-wohlkoenig - close - 12 May 2019
avatar SniperSister
SniperSister - comment - 12 May 2019

An additional remark from my side: if I remember correctly, the currently supported MySQL min versions for Joomla 4.x do not support the WITH RECURSIVE construct, so that approach won't work anyway. Try refactoring your query to use the lft and rgt values of the nested set in the tags table, that should do the trick.

Add a Comment

Login with GitHub to post a comment