Closed (fixed)
Project:
Taxonomy Lineage
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2009 at 09:00 UTC
Updated:
29 Nov 2009 at 05:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
xjmPerhaps with
lineage_form_taxonomy_overview_terms_alter().Comment #2
xjmHere's a patch to override the form action following the "Reset to alphabetical" confirmation so that we can run
lineage_update_all()after the vocabulary weights have been set. I also added an optional vid tolineage_update_all()so we can act only on the affected rows.Tested and seems to work fine on my sandbox.
Comment #3
xjmHere's a better patch. The original was fewer lines, but interrupted the normal flow of form processing, whereas this one simply overrides the whole submit handler. It will be easier to maintain and also allows lineage_update_all to be called just once after the reordering form has been processed (to ensure the correct lineages for all terms).
Applied and tested; works fine.
Comment #4
agileware commentedCommitted