{"action":"closed","issue":{"url":"https://api.github.com/repos/razorjack/quicksand/issues/21","repository_url":"https://api.github.com/repos/razorjack/quicksand","labels_url":"https://api.github.com/repos/razorjack/quicksand/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/razorjack/quicksand/issues/21/comments","events_url":"https://api.github.com/repos/razorjack/quicksand/issues/21/events","html_url":"https://github.com/razorjack/quicksand/issues/21","id":245922,"number":21,"title":"Multiple data-types per Item","user":{"login":"loomi","id":330618,"avatar_url":"https://avatars3.githubusercontent.com/u/330618?v=4","gravatar_id":"","url":"https://api.github.com/users/loomi","html_url":"https://github.com/loomi","followers_url":"https://api.github.com/users/loomi/followers","following_url":"https://api.github.com/users/loomi/following{/other_user}","gists_url":"https://api.github.com/users/loomi/gists{/gist_id}","starred_url":"https://api.github.com/users/loomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomi/subscriptions","organizations_url":"https://api.github.com/users/loomi/orgs","repos_url":"https://api.github.com/users/loomi/repos","events_url":"https://api.github.com/users/loomi/events{/privacy}","received_events_url":"https://api.github.com/users/loomi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2010-07-13T10:04:04Z","updated_at":"2017-11-10T12:38:32Z","closed_at":"2017-11-10T12:38:32Z","author_association":"NONE","body":"Hi razorjack,\n\nlove ur work so far, but i have a little question for you. :)\nI'd like to show my items in multiple categories, so i tried the following enhancement:\n\nif ($($filterType+':checked').val() == 'all') {\nvar $filteredData = $data.find('li');\n} else {\nvar $filteredData = $data.find('li[data-type=' + $($filterType+\":checked\").val() + ']');\nvar $filteredData = $data.find('li[data-type-2=' + $($filterType+\":checked\").val() + ']');\nvar $filteredData = $data.find('li[data-type-3=' + $($filterType+\":checked\").val() + ']');\n}\n\nTemplate:\nli data-id=\"id-1\" data-type=\"category1\" data-type-2=\"category2\" data-type-3=\"category3\"\n\nThe problem is, my item is only shown in the 3rd category.\nAny suggestions? Thanks in advance.\n"}}
{"actor":{"display_login":"razorjack"}}