backdrop-contrib / taxonomy_menu

Adds links to taxonomy terms into a menu.
GNU General Public License v2.0
0 stars 3 forks source link

Hierarchy lost when regenerating terms for a vocab #8

Open jenlampton opened 4 years ago

jenlampton commented 4 years ago

Hierarchy lost when regenerating terms for a vocab

eric2pin commented 3 months ago

This issue appears to be related to the _taxonomy_menu_save() function no longer calling _taxonomy_menu_insert_menu_item() which saves the menu / term mapping to the taxonomy_menu table. Adding that call back in fixes the issue (recreates the term hierarchy in the menu items) but I'm uncertain if there was some plan / decision to remove the menu/term mapping from the database.

I'll submit a pull request shortly if I can't find a reason these database inserts were removed.

argiepiano commented 2 weeks ago

Please see #13 (duplicate of this - sorry) and PR #14.