Download & Extend

Need a way to alter terms list in the hierarchy

Project:Hierarchical Select
Version:7.x-3.x-dev
Component:Code - Taxonomy
Category:feature request
Priority:major
Assigned:Soul88
Status:reviewed & tested by the community

Issue Summary

Hello everyone.

Hierarchical select is a great module, but I personallly lack a way to filter a list of terms selected by hierarchical_select. I think that hook_query_alter would do in my case, so I rewrote the queries of hs_taxonomy module using DBTNG layer in order to properly support it.

Please take a look at the patch.

AttachmentSize
hs_taxonomy_01.patch2.24 KB

Comments

#1

Status:needs review» reviewed & tested by the community

looks good for me

#2

makes sense at all. This queries are not often used so no problem to make then dynamic

#3

Wouldn't it be useful to add "term_access" tag to the query so this query could be also affected by HOOK_query_term_access_alter()? So all taxonomy queries can be altered in the single place.

nobody click here