Got to playing with this and the terms were not being limited to the chosen vocabulary. I started poking around and seems it's the sql query?? Or did I miss something. After all the work to set the vocabulary it was surprising not to see it used??

I know you are looking for a new maintainer, and wish I could jump in and take it over, but I'm not the right guy, and besides, hoping in a couple months all this will be in feeds and we can put feedapi to bed!

Anyway, I changed the sql to this:

    // 1) get all terms that start with this word.
    $result = db_query('SELECT tid, name FROM {term_data} WHERE `vid` =%d AND name RLIKE "^%s[[:>:]]"', $vid, $word); // If this query gets too slow, we need to build a word index.

And seems to be working. Anyone see a reason it's not or a reason the vid was not included originally?? I figure after all this time someone would have noticed the setting of the vocabulary was useless, Did I jump the gun or find a real bug??

Comments

momper’s picture

subscribe