{"action":"created","comment":{"url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/comments/358359929","pull_request_review_id":332731320,"id":358359929,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1ODM1OTkyOQ==","diff_hunk":"@@ -119,12 +119,15 @@ export default {\n           label: 'Solde',\n           align: 'left',\n           field: row => row.balance,\n+          sortable: true,\n         },\n         {\n           name: 'toPay',\n           label: 'A Prélever',\n           align: 'left',\n           field: row => formatPrice(row.toPay),\n+          sortable: true,\n+          sort: (a, b) => fromPriceToFloat(a) - fromPriceToFloat(b),","path":"src/pages/ni/billing/ClientsBalances.vue","position":21,"original_position":21,"commit_id":"d54b80dbb4d070df34b0314fb707d3dd47e08088","original_commit_id":"d54b80dbb4d070df34b0314fb707d3dd47e08088","user":{"login":"sophiemoustard","id":24521863,"node_id":"MDQ6VXNlcjI0NTIxODYz","avatar_url":"https://avatars3.githubusercontent.com/u/24521863?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiemoustard","html_url":"https://github.com/sophiemoustard","followers_url":"https://api.github.com/users/sophiemoustard/followers","following_url":"https://api.github.com/users/sophiemoustard/following{/other_user}","gists_url":"https://api.github.com/users/sophiemoustard/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiemoustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiemoustard/subscriptions","organizations_url":"https://api.github.com/users/sophiemoustard/orgs","repos_url":"https://api.github.com/users/sophiemoustard/repos","events_url":"https://api.github.com/users/sophiemoustard/events{/privacy}","received_events_url":"https://api.github.com/users/sophiemoustard/received_events","type":"User","site_admin":false},"body":"alors tu n'est pas obligé de faire le truc inverse.\r\nle mieux c'est de ne pas formatter le montant dans le champ `field` et d'ajouter un champ `format`\r\n```\r\nfield: 'toPay'\r\nformat: value => formatPrice(value)\r\nsort: (a, b) => a - b,\r\n```\r\nje pense que ca dervait marcher","created_at":"2019-12-16T17:16:52Z","updated_at":"2019-12-16T17:17:05Z","html_url":"https://github.com/sophiemoustard/alenvi-webapp/pull/133#discussion_r358359929","pull_request_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/comments/358359929"},"html":{"href":"https://github.com/sophiemoustard/alenvi-webapp/pull/133#discussion_r358359929"},"pull_request":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133","id":353656699,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUzNjU2Njk5","html_url":"https://github.com/sophiemoustard/alenvi-webapp/pull/133","diff_url":"https://github.com/sophiemoustard/alenvi-webapp/pull/133.diff","patch_url":"https://github.com/sophiemoustard/alenvi-webapp/pull/133.patch","issue_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/133","number":133,"state":"open","locked":false,"title":"COM-896 sort columns","user":{"login":"cmolle","id":22516544,"node_id":"MDQ6VXNlcjIyNTE2NTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/22516544?v=4","gravatar_id":"","url":"https://api.github.com/users/cmolle","html_url":"https://github.com/cmolle","followers_url":"https://api.github.com/users/cmolle/followers","following_url":"https://api.github.com/users/cmolle/following{/other_user}","gists_url":"https://api.github.com/users/cmolle/gists{/gist_id}","starred_url":"https://api.github.com/users/cmolle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmolle/subscriptions","organizations_url":"https://api.github.com/users/cmolle/orgs","repos_url":"https://api.github.com/users/cmolle/repos","events_url":"https://api.github.com/users/cmolle/events{/privacy}","received_events_url":"https://api.github.com/users/cmolle/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-16T16:40:28Z","updated_at":"2019-12-16T17:17:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca2a3616d0aa8d83b96a47cb96b1b7afc9902bb9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133/commits","review_comments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133/comments","review_comment_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/133/comments","statuses_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/statuses/d54b80dbb4d070df34b0314fb707d3dd47e08088","head":{"label":"sophiemoustard:COM-896","ref":"COM-896","sha":"d54b80dbb4d070df34b0314fb707d3dd47e08088","user":{"login":"sophiemoustard","id":24521863,"node_id":"MDQ6VXNlcjI0NTIxODYz","avatar_url":"https://avatars3.githubusercontent.com/u/24521863?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiemoustard","html_url":"https://github.com/sophiemoustard","followers_url":"https://api.github.com/users/sophiemoustard/followers","following_url":"https://api.github.com/users/sophiemoustard/following{/other_user}","gists_url":"https://api.github.com/users/sophiemoustard/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiemoustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiemoustard/subscriptions","organizations_url":"https://api.github.com/users/sophiemoustard/orgs","repos_url":"https://api.github.com/users/sophiemoustard/repos","events_url":"https://api.github.com/users/sophiemoustard/events{/privacy}","received_events_url":"https://api.github.com/users/sophiemoustard/received_events","type":"User","site_admin":false},"repo":{"id":216042835,"node_id":"MDEwOlJlcG9zaXRvcnkyMTYwNDI4MzU=","name":"alenvi-webapp","full_name":"sophiemoustard/alenvi-webapp","private":false,"owner":{"login":"sophiemoustard","id":24521863,"node_id":"MDQ6VXNlcjI0NTIxODYz","avatar_url":"https://avatars3.githubusercontent.com/u/24521863?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiemoustard","html_url":"https://github.com/sophiemoustard","followers_url":"https://api.github.com/users/sophiemoustard/followers","following_url":"https://api.github.com/users/sophiemoustard/following{/other_user}","gists_url":"https://api.github.com/users/sophiemoustard/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiemoustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiemoustard/subscriptions","organizations_url":"https://api.github.com/users/sophiemoustard/orgs","repos_url":"https://api.github.com/users/sophiemoustard/repos","events_url":"https://api.github.com/users/sophiemoustard/events{/privacy}","received_events_url":"https://api.github.com/users/sophiemoustard/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sophiemoustard/alenvi-webapp","description":null,"fork":false,"url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp","forks_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/forks","keys_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/teams","hooks_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/hooks","issue_events_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/events","assignees_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/tags","blobs_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/languages","stargazers_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/stargazers","contributors_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/contributors","subscribers_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/subscribers","subscription_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/subscription","commits_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/merges","archive_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/downloads","issues_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/labels{/name}","releases_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/deployments","created_at":"2019-10-18T14:29:57Z","updated_at":"2019-12-09T16:47:28Z","pushed_at":"2019-12-16T17:14:37Z","git_url":"git://github.com/sophiemoustard/alenvi-webapp.git","ssh_url":"git@github.com:sophiemoustard/alenvi-webapp.git","clone_url":"https://github.com/sophiemoustard/alenvi-webapp.git","svn_url":"https://github.com/sophiemoustard/alenvi-webapp","homepage":null,"size":995,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"sophiemoustard:dev","ref":"dev","sha":"e478fbf6eefd3076742c328cd0d4f26023a62236","user":{"login":"sophiemoustard","id":24521863,"node_id":"MDQ6VXNlcjI0NTIxODYz","avatar_url":"https://avatars3.githubusercontent.com/u/24521863?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiemoustard","html_url":"https://github.com/sophiemoustard","followers_url":"https://api.github.com/users/sophiemoustard/followers","following_url":"https://api.github.com/users/sophiemoustard/following{/other_user}","gists_url":"https://api.github.com/users/sophiemoustard/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiemoustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiemoustard/subscriptions","organizations_url":"https://api.github.com/users/sophiemoustard/orgs","repos_url":"https://api.github.com/users/sophiemoustard/repos","events_url":"https://api.github.com/users/sophiemoustard/events{/privacy}","received_events_url":"https://api.github.com/users/sophiemoustard/received_events","type":"User","site_admin":false},"repo":{"id":216042835,"node_id":"MDEwOlJlcG9zaXRvcnkyMTYwNDI4MzU=","name":"alenvi-webapp","full_name":"sophiemoustard/alenvi-webapp","private":false,"owner":{"login":"sophiemoustard","id":24521863,"node_id":"MDQ6VXNlcjI0NTIxODYz","avatar_url":"https://avatars3.githubusercontent.com/u/24521863?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiemoustard","html_url":"https://github.com/sophiemoustard","followers_url":"https://api.github.com/users/sophiemoustard/followers","following_url":"https://api.github.com/users/sophiemoustard/following{/other_user}","gists_url":"https://api.github.com/users/sophiemoustard/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiemoustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiemoustard/subscriptions","organizations_url":"https://api.github.com/users/sophiemoustard/orgs","repos_url":"https://api.github.com/users/sophiemoustard/repos","events_url":"https://api.github.com/users/sophiemoustard/events{/privacy}","received_events_url":"https://api.github.com/users/sophiemoustard/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sophiemoustard/alenvi-webapp","description":null,"fork":false,"url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp","forks_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/forks","keys_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/teams","hooks_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/hooks","issue_events_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/events","assignees_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/tags","blobs_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/languages","stargazers_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/stargazers","contributors_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/contributors","subscribers_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/subscribers","subscription_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/subscription","commits_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/merges","archive_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/downloads","issues_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/labels{/name}","releases_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/deployments","created_at":"2019-10-18T14:29:57Z","updated_at":"2019-12-09T16:47:28Z","pushed_at":"2019-12-16T17:14:37Z","git_url":"git://github.com/sophiemoustard/alenvi-webapp.git","ssh_url":"git@github.com:sophiemoustard/alenvi-webapp.git","clone_url":"https://github.com/sophiemoustard/alenvi-webapp.git","svn_url":"https://github.com/sophiemoustard/alenvi-webapp","homepage":null,"size":995,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133"},"html":{"href":"https://github.com/sophiemoustard/alenvi-webapp/pull/133"},"issue":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/133"},"comments":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/sophiemoustard/alenvi-webapp/statuses/d54b80dbb4d070df34b0314fb707d3dd47e08088"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sophiemoustard"}}