Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rvl 1289 nigeria issue 1276 #1280

Merged
merged 11 commits into from
Apr 30, 2021
Merged

Rvl 1289 nigeria issue 1276 #1280

merged 11 commits into from
Apr 30, 2021

Conversation

lindagcaba
Copy link
Member

resolves #1276 for Nigeria build.

@lindagcaba lindagcaba requested a review from Rkareko March 8, 2021 07:47
Cursor cursor = null;
try{
String query = String.format("SELECT %s,%s,%s FROM %s WHERE %s IS NULL",Constants.DatabaseKeys.STRUCTURE_ID,Constants.DatabaseKeys.FIRST_NAME,Constants.DatabaseKeys.LAST_NAME, FamilyConstants.TABLE_NAME.FAMILY, FamilyConstants.DatabaseKeys.COMPOUND_STRUCTURE);
cursor = database.rawQuery(query,new String[]{});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Database queries should be done in the background

@@ -61,9 +73,40 @@ public JSONObject getFormAsJson(String formName, String entityId, String current
if (familyNameFieldJSONObject != null) {
familyNameFieldJSONObject.put(VALUE, this.structureName);
}
populateCompoundStructureOptions(form);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this method only applied for the Nigeria environment?

@lindagcaba lindagcaba merged commit f8dd8da into nigeria Apr 30, 2021
@lindagcaba lindagcaba deleted the rvl-1289-nigeria-issue-1276 branch April 30, 2021 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants