Closed (fixed)
Project:
XML sitemap
Version:
6.x-1.x-dev
Component:
xmlsitemap_taxonomy.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2009 at 16:20 UTC
Updated:
19 Sep 2009 at 00:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI'll take a look at it and make a decision for it.
Comment #2
dave reidWhat exactly is the call that is avoided?
Comment #3
Anonymous (not verified) commentedComment #4
avpadernoRather than a
LEFT JOIN, it would be better aINNER JOIN, as we are not interested on taxonomy terms not associated with a vocabulary.Comment #5
akhil commentedWhen implementing taxonomy_term_path hook in a module I need the term name as well but i could not get it as it is not being passed. So I will need to do another database call.
Comment #6
dave reidINNER JOINS are more expensive, and there should never be abandoned terms without a vocabulary. It's not possible if the proper Drupal APIs are used. I don't see a downside to including this. We should also skip loading the vocabulary table because taxonomy_term_path() will do that for us since it is used later.
Comment #7
dave reidCommitted to CVS.
http://drupal.org/cvs?commit=259498