Skip to content

Commit

Permalink
avniproject#762 | Minor fix when checking for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
ombhardwajj committed Aug 22, 2024
1 parent bd2ba34 commit 5014d5c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public List<String> getProgramAndEncounterNames() {
programNames.add(formatName(rawName));
}
}
System.out.println("The program and encounter::"+programNames);
return programNames;
}

Expand Down Expand Up @@ -259,7 +260,7 @@ public void createQuestionsForProgramsAndEncounters() {

for (String programName : programNames) {
for (String tableName : allTableNames) {
if (tableName.contains(programName)) {
if (tableName.equalsIgnoreCase(programName)) {
createQuestionForTable(tableName, "Address", "id", "address_id");
}
}
Expand Down

0 comments on commit 5014d5c

Please sign in to comment.