{"action":"closed","issue":{"url":"https://api.github.com/repos/cbopp-art/lightcase/issues/61","repository_url":"https://api.github.com/repos/cbopp-art/lightcase","labels_url":"https://api.github.com/repos/cbopp-art/lightcase/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/cbopp-art/lightcase/issues/61/comments","events_url":"https://api.github.com/repos/cbopp-art/lightcase/issues/61/events","html_url":"https://github.com/cbopp-art/lightcase/issues/61","id":147792892,"number":61,"title":"Uninitialize plugin / filtering items","user":{"login":"schovi","id":11453,"avatar_url":"https://avatars.githubusercontent.com/u/11453?v=3","gravatar_id":"","url":"https://api.github.com/users/schovi","html_url":"https://github.com/schovi","followers_url":"https://api.github.com/users/schovi/followers","following_url":"https://api.github.com/users/schovi/following{/other_user}","gists_url":"https://api.github.com/users/schovi/gists{/gist_id}","starred_url":"https://api.github.com/users/schovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schovi/subscriptions","organizations_url":"https://api.github.com/users/schovi/orgs","repos_url":"https://api.github.com/users/schovi/repos","events_url":"https://api.github.com/users/schovi/events{/privacy}","received_events_url":"https://api.github.com/users/schovi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-12T15:46:06Z","updated_at":"2016-08-02T09:45:43Z","closed_at":"2016-08-02T09:45:43Z","body":"Hi,\r\n\r\nwe are faced to problem, where we filter our gallery. Filtering is made simple with hiding of some photos. Filtering is based on some category slug. Each photo can have multiple categories. We tried to use data-lc-categories, but with fact that one photo can have multiple categories and we filter just one category result is follow: Visible are just 2 photos, but lightcase is applies to all photos which have similiar category as origin one even if they are not visible.\r\n\r\nOur idea how to hack this was to remove `data-rel=\"lightcase\"` and reinitialize lightcase only on visible photos, but it totally breaks everything :)\r\n\r\nBest solution will be if we can \"unapply\" lightcase plugin, but it is not possible with current API. Maybe give us hint, how to do by ourself :)"}}
{"actor":{"display_login":"cbopp-art"}}