primary_term needs to run after i18ntaxonomy

mvc - May 26, 2009 - 00:05
Project:Primary Term
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

I'm using primary_term on a multilingual site. I noticed that the list of terms in the form select added by primary_term weren't translated, because primary_term installs itself with weight 9, and so it runs before i18ntaxonomy (weight 10). I changed the weight to 11 and everything worked perfectly. So, I propose patching the .install file.

This also needs a call to hook_update_N() for people who already have the module installed, but I don't have time to write that now. In the meantime, in case anyone reading this has the same problem, the following query is needed:

update system set weight = 11 where name = 'primary_term' limit 1;

AttachmentSize
primary_term_weight.patch668 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.