{"action":"created","comment":{"url":"https://api.github.com/repos/kiva/ui/pulls/comments/262337979","pull_request_review_id":210481261,"id":262337979,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2MjMzNzk3OQ==","diff_hunk":"@@ -0,0 +1,74 @@\n+<template>\n+\t<filter-menu-section :title=\"title\" :open=\"open\" :result-count=\"resultCount\">\n+\t\t<ais-sort-by :items=\"defaultSortIndices\">\n+\t\t\t<ul slot-scope=\"{ items, currentRefinement, refine }\">\n+\t\t\t\t<li v-for=\"item in items\" :key=\"item.value\" :value=\"item.value\" class=\"sort\">\n+\t\t\t\t\t<a href=\"#\"\n+\t\t\t\t\t\t:class=\"{ 'selected': item.value === currentRefinement }\"\n+\t\t\t\t\t\t@click.prevent=\"refine(item.value)\">\n+\t\t\t\t\t\t{{ item.label | capitalize }}\n+\t\t\t\t\t</a>\n+\t\t\t\t</li>\n+\t\t\t</ul>\n+\t\t</ais-sort-by>\n+\t</filter-menu-section>\n+</template>\n+\n+<script>\n+import { AisConfigure, AisSortBy } from 'vue-instantsearch';\n+import FilterMenuSection from '@/pages/Lend/Filter/FilterMenuSection';\n+\n+export default {\n+\tcomponents: {\n+\t\tAisConfigure,\n+\t\tAisSortBy,\n+\t\tFilterMenuSection,\n+\t},\n+\tfilters: {\n+\t\tcapitalize(value) {","path":"src/pages/Lend/Filter/FilterSectionSort.vue","position":28,"original_position":28,"commit_id":"aecd9038d2b1d0eca7a51b2e43a999b3fb2fd689","original_commit_id":"aecd9038d2b1d0eca7a51b2e43a999b3fb2fd689","user":{"login":"foochris","id":1527289,"node_id":"MDQ6VXNlcjE1MjcyODk=","avatar_url":"https://avatars1.githubusercontent.com/u/1527289?v=4","gravatar_id":"","url":"https://api.github.com/users/foochris","html_url":"https://github.com/foochris","followers_url":"https://api.github.com/users/foochris/followers","following_url":"https://api.github.com/users/foochris/following{/other_user}","gists_url":"https://api.github.com/users/foochris/gists{/gist_id}","starred_url":"https://api.github.com/users/foochris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foochris/subscriptions","organizations_url":"https://api.github.com/users/foochris/orgs","repos_url":"https://api.github.com/users/foochris/repos","events_url":"https://api.github.com/users/foochris/events{/privacy}","received_events_url":"https://api.github.com/users/foochris/received_events","type":"User","site_admin":false},"body":"@mcstover Should we move this globally? There may be another use for it in `SelectedRefinements.vue` as the label 'female / male' should be upper case. ","created_at":"2019-03-05T03:45:18Z","updated_at":"2019-03-05T03:45:19Z","html_url":"https://github.com/kiva/ui/pull/674#discussion_r262337979","pull_request_url":"https://api.github.com/repos/kiva/ui/pulls/674","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kiva/ui/pulls/comments/262337979"},"html":{"href":"https://github.com/kiva/ui/pull/674#discussion_r262337979"},"pull_request":{"href":"https://api.github.com/repos/kiva/ui/pulls/674"}}},"pull_request":{"url":"https://api.github.com/repos/kiva/ui/pulls/674","id":258162258,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU4MTYyMjU4","html_url":"https://github.com/kiva/ui/pull/674","diff_url":"https://github.com/kiva/ui/pull/674.diff","patch_url":"https://github.com/kiva/ui/pull/674.patch","issue_url":"https://api.github.com/repos/kiva/ui/issues/674","number":674,"state":"open","locked":false,"title":"CASH-551 - Sort loans in lend/filter","user":{"login":"foochris","id":1527289,"node_id":"MDQ6VXNlcjE1MjcyODk=","avatar_url":"https://avatars1.githubusercontent.com/u/1527289?v=4","gravatar_id":"","url":"https://api.github.com/users/foochris","html_url":"https://github.com/foochris","followers_url":"https://api.github.com/users/foochris/followers","following_url":"https://api.github.com/users/foochris/following{/other_user}","gists_url":"https://api.github.com/users/foochris/gists{/gist_id}","starred_url":"https://api.github.com/users/foochris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foochris/subscriptions","organizations_url":"https://api.github.com/users/foochris/orgs","repos_url":"https://api.github.com/users/foochris/repos","events_url":"https://api.github.com/users/foochris/events{/privacy}","received_events_url":"https://api.github.com/users/foochris/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-03-05T02:43:00Z","updated_at":"2019-03-05T03:45:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4491c7fe37d3f08a4490519cf1f48eba5e2fc52d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ksekhri","id":5893550,"node_id":"MDQ6VXNlcjU4OTM1NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5893550?v=4","gravatar_id":"","url":"https://api.github.com/users/ksekhri","html_url":"https://github.com/ksekhri","followers_url":"https://api.github.com/users/ksekhri/followers","following_url":"https://api.github.com/users/ksekhri/following{/other_user}","gists_url":"https://api.github.com/users/ksekhri/gists{/gist_id}","starred_url":"https://api.github.com/users/ksekhri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksekhri/subscriptions","organizations_url":"https://api.github.com/users/ksekhri/orgs","repos_url":"https://api.github.com/users/ksekhri/repos","events_url":"https://api.github.com/users/ksekhri/events{/privacy}","received_events_url":"https://api.github.com/users/ksekhri/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiva/ui/pulls/674/commits","review_comments_url":"https://api.github.com/repos/kiva/ui/pulls/674/comments","review_comment_url":"https://api.github.com/repos/kiva/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiva/ui/issues/674/comments","statuses_url":"https://api.github.com/repos/kiva/ui/statuses/aecd9038d2b1d0eca7a51b2e43a999b3fb2fd689","head":{"label":"kiva:CASH-551","ref":"CASH-551","sha":"aecd9038d2b1d0eca7a51b2e43a999b3fb2fd689","user":{"login":"kiva","id":429856,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyOTg1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/429856?v=4","gravatar_id":"","url":"https://api.github.com/users/kiva","html_url":"https://github.com/kiva","followers_url":"https://api.github.com/users/kiva/followers","following_url":"https://api.github.com/users/kiva/following{/other_user}","gists_url":"https://api.github.com/users/kiva/gists{/gist_id}","starred_url":"https://api.github.com/users/kiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiva/subscriptions","organizations_url":"https://api.github.com/users/kiva/orgs","repos_url":"https://api.github.com/users/kiva/repos","events_url":"https://api.github.com/users/kiva/events{/privacy}","received_events_url":"https://api.github.com/users/kiva/received_events","type":"Organization","site_admin":false},"repo":{"id":105204956,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyMDQ5NTY=","name":"ui","full_name":"kiva/ui","private":false,"owner":{"login":"kiva","id":429856,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyOTg1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/429856?v=4","gravatar_id":"","url":"https://api.github.com/users/kiva","html_url":"https://github.com/kiva","followers_url":"https://api.github.com/users/kiva/followers","following_url":"https://api.github.com/users/kiva/following{/other_user}","gists_url":"https://api.github.com/users/kiva/gists{/gist_id}","starred_url":"https://api.github.com/users/kiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiva/subscriptions","organizations_url":"https://api.github.com/users/kiva/orgs","repos_url":"https://api.github.com/users/kiva/repos","events_url":"https://api.github.com/users/kiva/events{/privacy}","received_events_url":"https://api.github.com/users/kiva/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kiva/ui","description":null,"fork":false,"url":"https://api.github.com/repos/kiva/ui","forks_url":"https://api.github.com/repos/kiva/ui/forks","keys_url":"https://api.github.com/repos/kiva/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiva/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiva/ui/teams","hooks_url":"https://api.github.com/repos/kiva/ui/hooks","issue_events_url":"https://api.github.com/repos/kiva/ui/issues/events{/number}","events_url":"https://api.github.com/repos/kiva/ui/events","assignees_url":"https://api.github.com/repos/kiva/ui/assignees{/user}","branches_url":"https://api.github.com/repos/kiva/ui/branches{/branch}","tags_url":"https://api.github.com/repos/kiva/ui/tags","blobs_url":"https://api.github.com/repos/kiva/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiva/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiva/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiva/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiva/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/kiva/ui/languages","stargazers_url":"https://api.github.com/repos/kiva/ui/stargazers","contributors_url":"https://api.github.com/repos/kiva/ui/contributors","subscribers_url":"https://api.github.com/repos/kiva/ui/subscribers","subscription_url":"https://api.github.com/repos/kiva/ui/subscription","commits_url":"https://api.github.com/repos/kiva/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiva/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiva/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiva/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiva/ui/contents/{+path}","compare_url":"https://api.github.com/repos/kiva/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiva/ui/merges","archive_url":"https://api.github.com/repos/kiva/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiva/ui/downloads","issues_url":"https://api.github.com/repos/kiva/ui/issues{/number}","pulls_url":"https://api.github.com/repos/kiva/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/kiva/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/kiva/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiva/ui/labels{/name}","releases_url":"https://api.github.com/repos/kiva/ui/releases{/id}","deployments_url":"https://api.github.com/repos/kiva/ui/deployments","created_at":"2017-09-28T22:25:57Z","updated_at":"2019-03-04T17:06:00Z","pushed_at":"2019-03-05T03:41:49Z","git_url":"git://github.com/kiva/ui.git","ssh_url":"git@github.com:kiva/ui.git","clone_url":"https://github.com/kiva/ui.git","svn_url":"https://github.com/kiva/ui","homepage":null,"size":16379,"stargazers_count":1,"watchers_count":1,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":2,"open_issues":21,"watchers":1,"default_branch":"master"}},"base":{"label":"kiva:master","ref":"master","sha":"811de7463d4fb261f3a16e20f9d57afea035868d","user":{"login":"kiva","id":429856,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyOTg1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/429856?v=4","gravatar_id":"","url":"https://api.github.com/users/kiva","html_url":"https://github.com/kiva","followers_url":"https://api.github.com/users/kiva/followers","following_url":"https://api.github.com/users/kiva/following{/other_user}","gists_url":"https://api.github.com/users/kiva/gists{/gist_id}","starred_url":"https://api.github.com/users/kiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiva/subscriptions","organizations_url":"https://api.github.com/users/kiva/orgs","repos_url":"https://api.github.com/users/kiva/repos","events_url":"https://api.github.com/users/kiva/events{/privacy}","received_events_url":"https://api.github.com/users/kiva/received_events","type":"Organization","site_admin":false},"repo":{"id":105204956,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyMDQ5NTY=","name":"ui","full_name":"kiva/ui","private":false,"owner":{"login":"kiva","id":429856,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyOTg1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/429856?v=4","gravatar_id":"","url":"https://api.github.com/users/kiva","html_url":"https://github.com/kiva","followers_url":"https://api.github.com/users/kiva/followers","following_url":"https://api.github.com/users/kiva/following{/other_user}","gists_url":"https://api.github.com/users/kiva/gists{/gist_id}","starred_url":"https://api.github.com/users/kiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiva/subscriptions","organizations_url":"https://api.github.com/users/kiva/orgs","repos_url":"https://api.github.com/users/kiva/repos","events_url":"https://api.github.com/users/kiva/events{/privacy}","received_events_url":"https://api.github.com/users/kiva/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kiva/ui","description":null,"fork":false,"url":"https://api.github.com/repos/kiva/ui","forks_url":"https://api.github.com/repos/kiva/ui/forks","keys_url":"https://api.github.com/repos/kiva/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiva/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiva/ui/teams","hooks_url":"https://api.github.com/repos/kiva/ui/hooks","issue_events_url":"https://api.github.com/repos/kiva/ui/issues/events{/number}","events_url":"https://api.github.com/repos/kiva/ui/events","assignees_url":"https://api.github.com/repos/kiva/ui/assignees{/user}","branches_url":"https://api.github.com/repos/kiva/ui/branches{/branch}","tags_url":"https://api.github.com/repos/kiva/ui/tags","blobs_url":"https://api.github.com/repos/kiva/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiva/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiva/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiva/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiva/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/kiva/ui/languages","stargazers_url":"https://api.github.com/repos/kiva/ui/stargazers","contributors_url":"https://api.github.com/repos/kiva/ui/contributors","subscribers_url":"https://api.github.com/repos/kiva/ui/subscribers","subscription_url":"https://api.github.com/repos/kiva/ui/subscription","commits_url":"https://api.github.com/repos/kiva/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiva/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiva/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiva/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiva/ui/contents/{+path}","compare_url":"https://api.github.com/repos/kiva/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiva/ui/merges","archive_url":"https://api.github.com/repos/kiva/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiva/ui/downloads","issues_url":"https://api.github.com/repos/kiva/ui/issues{/number}","pulls_url":"https://api.github.com/repos/kiva/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/kiva/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/kiva/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiva/ui/labels{/name}","releases_url":"https://api.github.com/repos/kiva/ui/releases{/id}","deployments_url":"https://api.github.com/repos/kiva/ui/deployments","created_at":"2017-09-28T22:25:57Z","updated_at":"2019-03-04T17:06:00Z","pushed_at":"2019-03-05T03:41:49Z","git_url":"git://github.com/kiva/ui.git","ssh_url":"git@github.com:kiva/ui.git","clone_url":"https://github.com/kiva/ui.git","svn_url":"https://github.com/kiva/ui","homepage":null,"size":16379,"stargazers_count":1,"watchers_count":1,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":2,"open_issues":21,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiva/ui/pulls/674"},"html":{"href":"https://github.com/kiva/ui/pull/674"},"issue":{"href":"https://api.github.com/repos/kiva/ui/issues/674"},"comments":{"href":"https://api.github.com/repos/kiva/ui/issues/674/comments"},"review_comments":{"href":"https://api.github.com/repos/kiva/ui/pulls/674/comments"},"review_comment":{"href":"https://api.github.com/repos/kiva/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiva/ui/pulls/674/commits"},"statuses":{"href":"https://api.github.com/repos/kiva/ui/statuses/aecd9038d2b1d0eca7a51b2e43a999b3fb2fd689"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"foochris"}}