Skip to content

When browsing elements with several paths, we should provide the direct parent

To keep the same context, the frontend should propagate through a query parameter the immediate parent of the element being viewed (and not the path, this would give huge url, and we do not need such precision).

This is mostly a hack around https://gitlab.com/arkindex/backend/-/issues/886 which may never work.

The parameter would only be set when an element has multiple paths and allow a user to stay in the same path.

This probably means a new button per path would be needed to choose that path

Refs https://gitlab.com/arkindex/requests/-/issues/494

Edited by Erwan Rouchet