Skip to content

Commit

Permalink
fixed the crash issue zeir#209
Browse files Browse the repository at this point in the history
fixed the crash issue zeir#210
  • Loading branch information
junaidwarsivd committed Sep 21, 2021
1 parent 2c030d5 commit b2a90f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions opensrp-path-zeir/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ android {
applicationVariants.all { variant ->
if (variant.name == "debug") {
variant.outputs.each { output ->
output.versionCodeOverride = 20
output.versionNameOverride = "0.0.20-debug"
output.versionCodeOverride = 22
output.versionNameOverride = "0.0.22-debug"
}
} else if (variant.name == "preview") {
variant.outputs.each { output ->
Expand Down Expand Up @@ -327,7 +327,7 @@ dependencies {
exclude group: 'com.ibm.fhir', module: 'fhir-model'
}

implementation('org.smartregister:opensrp-client-native-form:2.1.3-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-native-form:1.14.8.3-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'appcompat-v7'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import static org.smartregister.path.util.AppConstants.KeyConstants.LAST_NAME;
import static org.smartregister.path.util.AppConstants.KeyConstants.LOST_TO_FOLLOW_UP;
import static org.smartregister.path.util.AppConstants.KeyConstants.RELATIONAL_ID;
import static org.smartregister.path.util.AppConstants.KeyConstants.SYSTEM_OF_REGISTRATION;
import static org.smartregister.path.util.AppConstants.KeyConstants.ZEIR_ID;
import static org.smartregister.path.util.TableUtil.getAllClientColumn;
import static org.smartregister.path.util.TableUtil.getChildDetailsColumn;
Expand Down Expand Up @@ -53,7 +54,8 @@ public AdvancedMatrixCursor createMatrixCursor(Response<String> response) {
AppConstants.KeyConstants.MOTHER_FIRST_NAME,
AppConstants.KeyConstants.MOTHER_LAST_NAME,
INACTIVE,
LOST_TO_FOLLOW_UP
LOST_TO_FOLLOW_UP,
SYSTEM_OF_REGISTRATION
};

AdvancedMatrixCursor matrixCursor = new AdvancedMatrixCursor(columns);
Expand Down Expand Up @@ -92,7 +94,9 @@ public String[] getColumns() {
"mother.first_name as " + AppConstants.KeyConstants.MOTHER_FIRST_NAME,
"mother.last_name as " + AppConstants.KeyConstants.MOTHER_LAST_NAME,
getChildDetailsColumn(INACTIVE),
getChildDetailsColumn(LOST_TO_FOLLOW_UP)
getChildDetailsColumn(LOST_TO_FOLLOW_UP),
getChildDetailsColumn(SYSTEM_OF_REGISTRATION)

};
}
}

0 comments on commit b2a90f9

Please sign in to comment.