{"action":"created","issue":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/1237","repository_url":"https://api.github.com/repos/Mottie/tablesorter","labels_url":"https://api.github.com/repos/Mottie/tablesorter/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/Mottie/tablesorter/issues/1237/comments","events_url":"https://api.github.com/repos/Mottie/tablesorter/issues/1237/events","html_url":"https://github.com/Mottie/tablesorter/issues/1237","id":162623175,"number":1237,"title":"select2 add new row ","user":{"login":"performiture","id":1319369,"avatar_url":"https://avatars.githubusercontent.com/u/1319369?v=3","gravatar_id":"","url":"https://api.github.com/users/performiture","html_url":"https://github.com/performiture","followers_url":"https://api.github.com/users/performiture/followers","following_url":"https://api.github.com/users/performiture/following{/other_user}","gists_url":"https://api.github.com/users/performiture/gists{/gist_id}","starred_url":"https://api.github.com/users/performiture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/performiture/subscriptions","organizations_url":"https://api.github.com/users/performiture/orgs","repos_url":"https://api.github.com/users/performiture/repos","events_url":"https://api.github.com/users/performiture/events{/privacy}","received_events_url":"https://api.github.com/users/performiture/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mottie/tablesorter/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Mottie/tablesorter/labels/Demo","name":"Demo","color":"DDDDDD"},{"url":"https://api.github.com/repos/Mottie/tablesorter/labels/Widget","name":"Widget","color":"207de5"},{"url":"https://api.github.com/repos/Mottie/tablesorter/labels/Widget-Filter","name":"Widget-Filter","color":"207de5"},{"url":"https://api.github.com/repos/Mottie/tablesorter/labels/Widget-StickyHeaders","name":"Widget-StickyHeaders","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-06-28T07:49:07Z","updated_at":"2016-08-08T22:54:02Z","closed_at":null,"body":"I am trying to add new row to the table with select2 filter. If you click \"Add Row\" the tbody will become blank until filter reset button is hit. Please see  https://jsfiddle.net/igorsf/f69jte28/"},"comment":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/comments/238402467","html_url":"https://github.com/Mottie/tablesorter/issues/1237#issuecomment-238402467","issue_url":"https://api.github.com/repos/Mottie/tablesorter/issues/1237","id":238402467,"user":{"login":"Mottie","id":136959,"avatar_url":"https://avatars.githubusercontent.com/u/136959?v=3","gravatar_id":"","url":"https://api.github.com/users/Mottie","html_url":"https://github.com/Mottie","followers_url":"https://api.github.com/users/Mottie/followers","following_url":"https://api.github.com/users/Mottie/following{/other_user}","gists_url":"https://api.github.com/users/Mottie/gists{/gist_id}","starred_url":"https://api.github.com/users/Mottie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mottie/subscriptions","organizations_url":"https://api.github.com/users/Mottie/orgs","repos_url":"https://api.github.com/users/Mottie/repos","events_url":"https://api.github.com/users/Mottie/events{/privacy}","received_events_url":"https://api.github.com/users/Mottie/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T22:54:02Z","updated_at":"2016-08-08T22:54:02Z","body":"Well, there have been some issues with race-conditions. This situation is another such case. The filter widget does wait until tablesorter has completed initialization before applying the saved search query. Triggering an \"update\" before the filter widget completes initialization does interfere with that sequence.\r\n\r\nMoving the code to store the saved filters to the `intialized` callback function, appears to be a more reliable method, *but* now the select2 input isn't updating as expected: https://jsfiddle.net/fy9y6x7p/5/"}}
{"actor":{"display_login":"Mottie"}}