Following these steps to implement this solution:
- Copy update_lrel.js file from the default location to the modification location in
<SD-install-dir>\site\mods\www\wwwroot\scripts (for windows) or <SD-install-dir>/site/mods/www/wwwroot/scripts( for Unix/Linux)
- Use a text editor to open the update_lrel.js file in the modification location and search for "function update_child"
and within this function add this line
extra += "KEEP.where_clause=parent is NULL";
before this line
update_with_lrel_style(parent_factory, parent_persid, factory, qrel_name, lable1, label2, "", extra);
and save and close.
- From command prompt, run
pdm_webcache -H and pdm_webcache -b