Project:Node Auto Term [NAT]
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

As far as I can tell nat_get_nids will only ever look at the first term passed. Seems to be easily resolved with the following:

   
// Results have not been cached.
-    $tids = implode(', ', $tids);
$result = db_query("SELECT n.nid, t.name FROM {nat} n INNER JOIN {term_data} t USING (tid) WHERE n.tid IN (". db_placeholders($tids) .")", $tids);

Comments

#1

(Not very clear above but remove the line) $tids = implode(', ', $tids);

#2

Version:6.x-1.1-beta» 6.x-1.x-dev
Status:active» fixed

Fixed. Next time, please submit changes in patch form.

Thanks,
-K

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.