Closed (duplicate)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2014 at 08:57 UTC
Updated:
10 Aug 2015 at 17:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
frakke commentedComment #2
frakke commentedComment #4
jvandyk commentedThis seems like a smart change for sites with many terms.
Comment #5
dave reidComment #6
joelpittetWould there be a regression if you have more than 2 levels as I think that only get's the direct children?
Comment #7
dave reidWhy aren't we using $term->vid as the second parameter here?
Comment #8
olli commentedRe #6: I think you're right. Current code sets 'alias children' to FALSE before recursive call because it already gets all levels from taxonomy_get_tree(). Here's a patch that doesn't set 'alias children'.
Re #7: I don't know but I guess we can add that since taxonomy_get_tree() also returned terms by
$term->vid.Note that taxonomy_get_children() always loads entities while taxonomy_get_tree() didn't.
Comment #9
dave reidLet's merge this with #2114323: Field based aliases incorrectly generated for taxonomy term children when updating top level term which also adds tests for the taxonomy children aliasing functionality.