1. init_db.js: Bug fix: Get communityID properly for initialization of divHelpContents and pageHelpContents. 2. update_db.js: Bug fix: Use openaire_admin database name. 3. DivIdController.java: Add 'communityId' parameter in 'getDivIds' (/div) and 'getDivIdsFull' (/divFull) methods and check if the divId exists in openaire/connect/communities. 4. PageController.java: Add 'with_positions' parameter in 'getAllPages' (/page) method and for checking if there is at least one position enabled/no positions are enabled.
1. init_db.js: Bug fix: Get communityID properly for initialization of divHelpContents and pageHelpContents.
2. update_db.js: Bug fix: Use openaire_admin database name.
3. DivIdController.java: Add 'communityId' parameter in 'getDivIds' (/div) and 'getDivIdsFull' (/divFull) methods and check if the divId exists in openaire/connect/communities.
4. PageController.java: Add 'with_positions' parameter in 'getAllPages' (/page) method and for checking if there is at least one position enabled/no positions are enabled.