Skip to content
Snippets Groups Projects
Commit 2b59bfff authored by Piotr Gawron's avatar Piotr Gawron
Browse files

redcap callendar parser improved

parent b7ec3382
No related branches found
No related tags found
1 merge request!52old import code
Pipeline #
......@@ -107,6 +107,14 @@ public class RedcapCalendarParser {
query = query.substring(index);
if (query.startsWith("_lev a_")) {
collection = AppointmentTypeCollection.LEVEL_A;
} else {
index = query.indexOf("_", 1);
if (index >= 0) {
query = query.substring(index);
if (query.startsWith("_lev a_")) {
collection = AppointmentTypeCollection.LEVEL_A;
}
}
}
}
if (collection == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment