{"action":"created","issue":{"url":"https://api.github.com/repos/xaksis/vue-good-table/issues/378","repository_url":"https://api.github.com/repos/xaksis/vue-good-table","labels_url":"https://api.github.com/repos/xaksis/vue-good-table/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/xaksis/vue-good-table/issues/378/comments","events_url":"https://api.github.com/repos/xaksis/vue-good-table/issues/378/events","html_url":"https://github.com/xaksis/vue-good-table/issues/378","id":355530317,"node_id":"MDU6SXNzdWUzNTU1MzAzMTc=","number":378,"title":"Can't seem to filter Boolean values","user":{"login":"danchristian","id":5786541,"node_id":"MDQ6VXNlcjU3ODY1NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/5786541?v=4","gravatar_id":"","url":"https://api.github.com/users/danchristian","html_url":"https://github.com/danchristian","followers_url":"https://api.github.com/users/danchristian/followers","following_url":"https://api.github.com/users/danchristian/following{/other_user}","gists_url":"https://api.github.com/users/danchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/danchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danchristian/subscriptions","organizations_url":"https://api.github.com/users/danchristian/orgs","repos_url":"https://api.github.com/users/danchristian/repos","events_url":"https://api.github.com/users/danchristian/events{/privacy}","received_events_url":"https://api.github.com/users/danchristian/received_events","type":"User","site_admin":false},"labels":[{"id":606396956,"node_id":"MDU6TGFiZWw2MDYzOTY5NTY=","url":"https://api.github.com/repos/xaksis/vue-good-table/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"xaksis","id":4627120,"node_id":"MDQ6VXNlcjQ2MjcxMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/4627120?v=4","gravatar_id":"","url":"https://api.github.com/users/xaksis","html_url":"https://github.com/xaksis","followers_url":"https://api.github.com/users/xaksis/followers","following_url":"https://api.github.com/users/xaksis/following{/other_user}","gists_url":"https://api.github.com/users/xaksis/gists{/gist_id}","starred_url":"https://api.github.com/users/xaksis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaksis/subscriptions","organizations_url":"https://api.github.com/users/xaksis/orgs","repos_url":"https://api.github.com/users/xaksis/repos","events_url":"https://api.github.com/users/xaksis/events{/privacy}","received_events_url":"https://api.github.com/users/xaksis/received_events","type":"User","site_admin":false},"assignees":[{"login":"xaksis","id":4627120,"node_id":"MDQ6VXNlcjQ2MjcxMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/4627120?v=4","gravatar_id":"","url":"https://api.github.com/users/xaksis","html_url":"https://github.com/xaksis","followers_url":"https://api.github.com/users/xaksis/followers","following_url":"https://api.github.com/users/xaksis/following{/other_user}","gists_url":"https://api.github.com/users/xaksis/gists{/gist_id}","starred_url":"https://api.github.com/users/xaksis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaksis/subscriptions","organizations_url":"https://api.github.com/users/xaksis/orgs","repos_url":"https://api.github.com/users/xaksis/repos","events_url":"https://api.github.com/users/xaksis/events{/privacy}","received_events_url":"https://api.github.com/users/xaksis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-30T10:50:02Z","updated_at":"2018-09-13T21:03:11Z","closed_at":"2018-08-30T15:17:16Z","author_association":"NONE","body":"- [x] Bug\r\n\r\nWhat version are you using?\r\n2.0.0.alpha\r\n\r\nWhat browser?\r\nChrome\r\n\r\n### Expected Behavior\r\nI can filter boolean values\r\n\r\n### Actual Behavior\r\nI can't filter boolean values\r\n\r\n### jsfiddle\r\nhttps://jsfiddle.net/ywdujp43/\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xaksis/vue-good-table/issues/comments/421152336","html_url":"https://github.com/xaksis/vue-good-table/issues/378#issuecomment-421152336","issue_url":"https://api.github.com/repos/xaksis/vue-good-table/issues/378","id":421152336,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTE1MjMzNg==","user":{"login":"HudsonMCynner","id":16908873,"node_id":"MDQ6VXNlcjE2OTA4ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/16908873?v=4","gravatar_id":"","url":"https://api.github.com/users/HudsonMCynner","html_url":"https://github.com/HudsonMCynner","followers_url":"https://api.github.com/users/HudsonMCynner/followers","following_url":"https://api.github.com/users/HudsonMCynner/following{/other_user}","gists_url":"https://api.github.com/users/HudsonMCynner/gists{/gist_id}","starred_url":"https://api.github.com/users/HudsonMCynner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HudsonMCynner/subscriptions","organizations_url":"https://api.github.com/users/HudsonMCynner/orgs","repos_url":"https://api.github.com/users/HudsonMCynner/repos","events_url":"https://api.github.com/users/HudsonMCynner/events{/privacy}","received_events_url":"https://api.github.com/users/HudsonMCynner/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T21:03:11Z","updated_at":"2018-09-13T21:03:11Z","author_association":"NONE","body":"Hello, I found a solution to this problem, I added another IF condition in the Compare function inside the default.js file that is inside the folder.\r\n\r\nI added this code :   **if (typeof d === 'boolean' ) return d;**\r\n\r\ncompare(x, y) {\r\n\r\n\r\n    function cook(d) {\r\n\r\n      if (typeof d === 'undefined' || d === null) return '';\r\n      if (typeof d === 'boolean' ) return d;\r\n      return d.toLowerCase();\r\n    }\r\n    x = cook(x);\r\n    y = cook(y);\r\n    if (x < y) return -1;\r\n    if (x > y) return 1;\r\n    return 0;\r\n  },\r\n};"}}
{"actor":{"display_login":"HudsonMCynner"}}