collective / collective.contact.core

part of the collective.contact.* suite that provides a directory where you create persons, organizations, sub-organizations and positions
https://github.com/collective/collective.contact.demo
6 stars 10 forks source link

Display positions on the organization view respecting order (getObjPositionInParent). #46

Closed gbastien closed 6 years ago

gbastien commented 6 years ago

Hi @vincentfretin

in our case, position order is important, we need to display contacts respecting a hierarchic order, so we make sure organization.get_positions respect the order of position objects stored in the organization container.

Please review and merge, and thank you for previous work!

Gauthier

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 69.484% when pulling a1cf39e451d82c67a54c522131574c57fe71ab21 on display_positions_keeping_order_on_orga_view into d6ffb7481e49216f604e83660cafc8eebfff8ab2 on master.