Closed ChemiKyle closed 3 years ago
The "Source codebook" and "Target codebook" depend on project IDs being delivered from the backend on page load, during the initial setup, there is no source project set, breaking the link.
https://github.com/ctsit/search_and_populate_data_from_another_project/blob/master/ExternalModule.php#L12-L15
The Source codebook link could dynamically set the PID from the target_pid in the configuration menu.
target_pid
The source_codebook button is set here: https://github.com/ctsit/search_and_populate_data_from_another_project/blob/802b637fc6fc543904f42ed26fa9611a7f5073d0/js/config_menu.js#L3
source_codebook
Addressed in PR #19
The "Source codebook" and "Target codebook" depend on project IDs being delivered from the backend on page load, during the initial setup, there is no source project set, breaking the link.
https://github.com/ctsit/search_and_populate_data_from_another_project/blob/master/ExternalModule.php#L12-L15
The Source codebook link could dynamically set the PID from the
target_pid
in the configuration menu.The
source_codebook
button is set here: https://github.com/ctsit/search_and_populate_data_from_another_project/blob/802b637fc6fc543904f42ed26fa9611a7f5073d0/js/config_menu.js#L3