Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Taxonomy
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
12 Nov 2012 at 14:32 UTC
Updated:
4 Dec 2014 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
podaroklooks good for me
Comment #2
andypostmakes sense at all. This queries are not often used so no problem to make then dynamic
Comment #3
ioskevich commentedWouldn'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.
Comment #4
wim leersPatch looks sensible.
But needs work as per #3.
Comment #5
soul88Rerolled the patch. Don't have a working install around, so hope it works. If not - will check/fix it in a few days.
Comment #6
soul88//deleted a tab for better code formatting.
Comment #7
wim leersLots of whitespace issues have been introduced.
Indentation is off.
Trailing whitespace.
Indentation is off.
Extraneous newline.
Comment #8
soul88fixed everything except for №4. Didn't find any empty line there.
Comment #9
soul88Comment #10
wim leersThanks! Now we need others to test it and confirm that it does not break things.
Comment #11
andypostTested this locally, works fine! Only small nitpick:
Any reason for this tag?
Comment #12
soul88Yes, actually the whole topic is about this tag as for me :). It allows to alter HS queries easily (to distinct them from other queries).
Comment #13
andypostSo this should be documented somewhere in README.txt or .api.php
Comment #14
soul88Added a note into the README.TXT
Comment #15
andypostGreat! Wim I think this good to go now
Comment #16
stefan.r commentedRe-rolled and committed, thanks!
Comment #18
stefan.r commentedComment #19
stefan.r commented