[childAdmin] append the parent's id only if exist.
Merge pull request #2117 from aitboudad/patch-3

[childAdmin] append the parent's id only if exist.