{"action":"created","comment":{"url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/comments/38907212","id":38907212,"diff_hunk":"@@ -47,12 +49,14 @@ public static GridSettings changeLookupForFollowupsAfterPrimeInjectionReport(Gri\n         return settings;\n     }\n \n-    public static GridSettings changeLookupAndOrderForFollowupsMissedClinicVisitsReport(GridSettings settings) {\n+    public static GridSettings changeLookupAndOrderForFollowupsMissedClinicVisitsReport(GridSettings settings) throws IOException {\n         DateTimeFormatter formatter = DateTimeFormat.forPattern(\"yyyy-MM-dd\");\n+        Map<String,String> fieldsMap = new HashMap<>();\n+\n         if (StringUtils.isNotBlank(settings.getSortColumn())) {\n             String sortColumn = settings.getSortColumn();\n             if (sortColumn.equals(\"planedVisitDate\") || sortColumn.equals(\"noOfDaysExceededVisit\")) {\n-                settings.setSortColumn(\"motechProjectedDate\");\n+                settings.setSortColumn(Visit.MOTECH_PROJECTED_DATE_PROPERTY_NAME);\n                 if(settings.getSortDirection().equals(\"asc\")) {","path":"src/main/java/org/motechproject/ebodac/util/DtoLookupHelper.java","position":23,"original_position":23,"commit_id":"28cf8fa722b2689f6cc68a591c293af49b7c4121","original_commit_id":"28cf8fa722b2689f6cc68a591c293af49b7c4121","user":{"login":"pmuchowski","id":8501916,"avatar_url":"https://avatars.githubusercontent.com/u/8501916?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuchowski","html_url":"https://github.com/pmuchowski","followers_url":"https://api.github.com/users/pmuchowski/followers","following_url":"https://api.github.com/users/pmuchowski/following{/other_user}","gists_url":"https://api.github.com/users/pmuchowski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuchowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuchowski/subscriptions","organizations_url":"https://api.github.com/users/pmuchowski/orgs","repos_url":"https://api.github.com/users/pmuchowski/repos","events_url":"https://api.github.com/users/pmuchowski/events{/privacy}","received_events_url":"https://api.github.com/users/pmuchowski/received_events","type":"User","site_admin":false},"body":"sort direction should not be changed for planedVisitDate only for noOfDaysExceededVisit","created_at":"2015-09-08T09:42:38Z","updated_at":"2015-09-08T09:42:38Z","html_url":"https://github.com/motech-implementations/ebodac/pull/170#discussion_r38907212","pull_request_url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/comments/38907212"},"html":{"href":"https://github.com/motech-implementations/ebodac/pull/170#discussion_r38907212"},"pull_request":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170","id":44408493,"html_url":"https://github.com/motech-implementations/ebodac/pull/170","diff_url":"https://github.com/motech-implementations/ebodac/pull/170.diff","patch_url":"https://github.com/motech-implementations/ebodac/pull/170.patch","issue_url":"https://api.github.com/repos/motech-implementations/ebodac/issues/170","number":170,"state":"open","locked":false,"title":"EBODAC-462","user":{"login":"kkaczmarczyk","id":3207119,"avatar_url":"https://avatars.githubusercontent.com/u/3207119?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaczmarczyk","html_url":"https://github.com/kkaczmarczyk","followers_url":"https://api.github.com/users/kkaczmarczyk/followers","following_url":"https://api.github.com/users/kkaczmarczyk/following{/other_user}","gists_url":"https://api.github.com/users/kkaczmarczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaczmarczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaczmarczyk/subscriptions","organizations_url":"https://api.github.com/users/kkaczmarczyk/orgs","repos_url":"https://api.github.com/users/kkaczmarczyk/repos","events_url":"https://api.github.com/users/kkaczmarczyk/events{/privacy}","received_events_url":"https://api.github.com/users/kkaczmarczyk/received_events","type":"User","site_admin":false},"body":"QUERY - Follow-ups after Prime Vaccination Report is currently wrong","created_at":"2015-09-08T09:09:53Z","updated_at":"2015-09-08T09:42:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d11a29167c2aeded6e73e6f90ab64260b5c2b07","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170/commits","review_comments_url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170/comments","review_comment_url":"https://api.github.com/repos/motech-implementations/ebodac/pulls/comments{/number}","comments_url":"https://api.github.com/repos/motech-implementations/ebodac/issues/170/comments","statuses_url":"https://api.github.com/repos/motech-implementations/ebodac/statuses/28cf8fa722b2689f6cc68a591c293af49b7c4121","head":{"label":"kkaczmarczyk:master","ref":"master","sha":"28cf8fa722b2689f6cc68a591c293af49b7c4121","user":{"login":"kkaczmarczyk","id":3207119,"avatar_url":"https://avatars.githubusercontent.com/u/3207119?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaczmarczyk","html_url":"https://github.com/kkaczmarczyk","followers_url":"https://api.github.com/users/kkaczmarczyk/followers","following_url":"https://api.github.com/users/kkaczmarczyk/following{/other_user}","gists_url":"https://api.github.com/users/kkaczmarczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaczmarczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaczmarczyk/subscriptions","organizations_url":"https://api.github.com/users/kkaczmarczyk/orgs","repos_url":"https://api.github.com/users/kkaczmarczyk/repos","events_url":"https://api.github.com/users/kkaczmarczyk/events{/privacy}","received_events_url":"https://api.github.com/users/kkaczmarczyk/received_events","type":"User","site_admin":false},"repo":{"id":32991055,"name":"ebodac","full_name":"kkaczmarczyk/ebodac","owner":{"login":"kkaczmarczyk","id":3207119,"avatar_url":"https://avatars.githubusercontent.com/u/3207119?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaczmarczyk","html_url":"https://github.com/kkaczmarczyk","followers_url":"https://api.github.com/users/kkaczmarczyk/followers","following_url":"https://api.github.com/users/kkaczmarczyk/following{/other_user}","gists_url":"https://api.github.com/users/kkaczmarczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaczmarczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaczmarczyk/subscriptions","organizations_url":"https://api.github.com/users/kkaczmarczyk/orgs","repos_url":"https://api.github.com/users/kkaczmarczyk/repos","events_url":"https://api.github.com/users/kkaczmarczyk/events{/privacy}","received_events_url":"https://api.github.com/users/kkaczmarczyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kkaczmarczyk/ebodac","description":"EBODAC Registration Module","fork":true,"url":"https://api.github.com/repos/kkaczmarczyk/ebodac","forks_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/forks","keys_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/teams","hooks_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/hooks","issue_events_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/issues/events{/number}","events_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/events","assignees_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/assignees{/user}","branches_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/branches{/branch}","tags_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/tags","blobs_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/git/refs{/sha}","trees_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/statuses/{sha}","languages_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/languages","stargazers_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/stargazers","contributors_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/contributors","subscribers_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/subscribers","subscription_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/subscription","commits_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/commits{/sha}","git_commits_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/git/commits{/sha}","comments_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/comments{/number}","issue_comment_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/issues/comments{/number}","contents_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/contents/{+path}","compare_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/merges","archive_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/downloads","issues_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/issues{/number}","pulls_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/pulls{/number}","milestones_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/milestones{/number}","notifications_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/labels{/name}","releases_url":"https://api.github.com/repos/kkaczmarczyk/ebodac/releases{/id}","created_at":"2015-03-27T14:29:39Z","updated_at":"2015-03-27T14:29:40Z","pushed_at":"2015-09-08T09:12:10Z","git_url":"git://github.com/kkaczmarczyk/ebodac.git","ssh_url":"git@github.com:kkaczmarczyk/ebodac.git","clone_url":"https://github.com/kkaczmarczyk/ebodac.git","svn_url":"https://github.com/kkaczmarczyk/ebodac","homepage":null,"size":1016,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"motech-implementations:master","ref":"master","sha":"9d35c2f7ba0d51f373abea90373daf0cbd09e253","user":{"login":"motech-implementations","id":6608253,"avatar_url":"https://avatars.githubusercontent.com/u/6608253?v=3","gravatar_id":"","url":"https://api.github.com/users/motech-implementations","html_url":"https://github.com/motech-implementations","followers_url":"https://api.github.com/users/motech-implementations/followers","following_url":"https://api.github.com/users/motech-implementations/following{/other_user}","gists_url":"https://api.github.com/users/motech-implementations/gists{/gist_id}","starred_url":"https://api.github.com/users/motech-implementations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech-implementations/subscriptions","organizations_url":"https://api.github.com/users/motech-implementations/orgs","repos_url":"https://api.github.com/users/motech-implementations/repos","events_url":"https://api.github.com/users/motech-implementations/events{/privacy}","received_events_url":"https://api.github.com/users/motech-implementations/received_events","type":"Organization","site_admin":false},"repo":{"id":31216782,"name":"ebodac","full_name":"motech-implementations/ebodac","owner":{"login":"motech-implementations","id":6608253,"avatar_url":"https://avatars.githubusercontent.com/u/6608253?v=3","gravatar_id":"","url":"https://api.github.com/users/motech-implementations","html_url":"https://github.com/motech-implementations","followers_url":"https://api.github.com/users/motech-implementations/followers","following_url":"https://api.github.com/users/motech-implementations/following{/other_user}","gists_url":"https://api.github.com/users/motech-implementations/gists{/gist_id}","starred_url":"https://api.github.com/users/motech-implementations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech-implementations/subscriptions","organizations_url":"https://api.github.com/users/motech-implementations/orgs","repos_url":"https://api.github.com/users/motech-implementations/repos","events_url":"https://api.github.com/users/motech-implementations/events{/privacy}","received_events_url":"https://api.github.com/users/motech-implementations/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/motech-implementations/ebodac","description":"EBODAC Registration Module","fork":false,"url":"https://api.github.com/repos/motech-implementations/ebodac","forks_url":"https://api.github.com/repos/motech-implementations/ebodac/forks","keys_url":"https://api.github.com/repos/motech-implementations/ebodac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motech-implementations/ebodac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motech-implementations/ebodac/teams","hooks_url":"https://api.github.com/repos/motech-implementations/ebodac/hooks","issue_events_url":"https://api.github.com/repos/motech-implementations/ebodac/issues/events{/number}","events_url":"https://api.github.com/repos/motech-implementations/ebodac/events","assignees_url":"https://api.github.com/repos/motech-implementations/ebodac/assignees{/user}","branches_url":"https://api.github.com/repos/motech-implementations/ebodac/branches{/branch}","tags_url":"https://api.github.com/repos/motech-implementations/ebodac/tags","blobs_url":"https://api.github.com/repos/motech-implementations/ebodac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motech-implementations/ebodac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motech-implementations/ebodac/git/refs{/sha}","trees_url":"https://api.github.com/repos/motech-implementations/ebodac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motech-implementations/ebodac/statuses/{sha}","languages_url":"https://api.github.com/repos/motech-implementations/ebodac/languages","stargazers_url":"https://api.github.com/repos/motech-implementations/ebodac/stargazers","contributors_url":"https://api.github.com/repos/motech-implementations/ebodac/contributors","subscribers_url":"https://api.github.com/repos/motech-implementations/ebodac/subscribers","subscription_url":"https://api.github.com/repos/motech-implementations/ebodac/subscription","commits_url":"https://api.github.com/repos/motech-implementations/ebodac/commits{/sha}","git_commits_url":"https://api.github.com/repos/motech-implementations/ebodac/git/commits{/sha}","comments_url":"https://api.github.com/repos/motech-implementations/ebodac/comments{/number}","issue_comment_url":"https://api.github.com/repos/motech-implementations/ebodac/issues/comments{/number}","contents_url":"https://api.github.com/repos/motech-implementations/ebodac/contents/{+path}","compare_url":"https://api.github.com/repos/motech-implementations/ebodac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motech-implementations/ebodac/merges","archive_url":"https://api.github.com/repos/motech-implementations/ebodac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motech-implementations/ebodac/downloads","issues_url":"https://api.github.com/repos/motech-implementations/ebodac/issues{/number}","pulls_url":"https://api.github.com/repos/motech-implementations/ebodac/pulls{/number}","milestones_url":"https://api.github.com/repos/motech-implementations/ebodac/milestones{/number}","notifications_url":"https://api.github.com/repos/motech-implementations/ebodac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motech-implementations/ebodac/labels{/name}","releases_url":"https://api.github.com/repos/motech-implementations/ebodac/releases{/id}","created_at":"2015-02-23T16:24:14Z","updated_at":"2015-05-07T15:06:10Z","pushed_at":"2015-09-08T09:12:10Z","git_url":"git://github.com/motech-implementations/ebodac.git","ssh_url":"git@github.com:motech-implementations/ebodac.git","clone_url":"https://github.com/motech-implementations/ebodac.git","svn_url":"https://github.com/motech-implementations/ebodac","homepage":null,"size":1946,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170"},"html":{"href":"https://github.com/motech-implementations/ebodac/pull/170"},"issue":{"href":"https://api.github.com/repos/motech-implementations/ebodac/issues/170"},"comments":{"href":"https://api.github.com/repos/motech-implementations/ebodac/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/motech-implementations/ebodac/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/motech-implementations/ebodac/statuses/28cf8fa722b2689f6cc68a591c293af49b7c4121"}}}}