Posted by Soul88 on November 12, 2012 at 2:32pm
4 followers
Jump to:
| 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.
| Attachment | Size |
|---|---|
| hs_taxonomy_01.patch | 2.24 KB |
Comments
#1
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.