Order before rebuild tree.

Issue #8 on hold
Yuriy Zhuravlev
created an issue

If the primary key as "string", order to rebuild node is not running correctly. In patch use path instead of the primary key.

Comments (2)

  1. Aah . repo owner

    I'm not sure if I understand your concern. rebuild_all_trees' default behaviour just works with autoincrement primary key, but for the case of any different configuration there is an option to specify order_by explicitly as an argument to rebuild_all_trees() and rebuild_subtree().

    Your patch would break ordering by order of creation in table with autoincrement pk if paths were corrupted in some way.

  2. Log in to comment