{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/QGIS/issues/2189","labels_url":"https://api.github.com/repos/qgis/QGIS/issues/2189/labels{/name}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/2189/comments","events_url":"https://api.github.com/repos/qgis/QGIS/issues/2189/events","html_url":"https://github.com/qgis/QGIS/pull/2189","id":92596199,"number":2189,"title":"Add more options for filtering legend elements","user":{"login":"mhugo","id":1618556,"avatar_url":"https://avatars.githubusercontent.com/u/1618556?v=3","gravatar_id":"","url":"https://api.github.com/users/mhugo","html_url":"https://github.com/mhugo","followers_url":"https://api.github.com/users/mhugo/followers","following_url":"https://api.github.com/users/mhugo/following{/other_user}","gists_url":"https://api.github.com/users/mhugo/gists{/gist_id}","starred_url":"https://api.github.com/users/mhugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhugo/subscriptions","organizations_url":"https://api.github.com/users/mhugo/orgs","repos_url":"https://api.github.com/users/mhugo/repos","events_url":"https://api.github.com/users/mhugo/events{/privacy}","received_events_url":"https://api.github.com/users/mhugo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qgis/QGIS/labels/For%20Review","name":"For Review","color":"eb6420"},{"url":"https://api.github.com/repos/qgis/QGIS/labels/Requires%20Changes","name":"Requires Changes","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"wonder-sk","id":193367,"avatar_url":"https://avatars.githubusercontent.com/u/193367?v=3","gravatar_id":"","url":"https://api.github.com/users/wonder-sk","html_url":"https://github.com/wonder-sk","followers_url":"https://api.github.com/users/wonder-sk/followers","following_url":"https://api.github.com/users/wonder-sk/following{/other_user}","gists_url":"https://api.github.com/users/wonder-sk/gists{/gist_id}","starred_url":"https://api.github.com/users/wonder-sk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonder-sk/subscriptions","organizations_url":"https://api.github.com/users/wonder-sk/orgs","repos_url":"https://api.github.com/users/wonder-sk/repos","events_url":"https://api.github.com/users/wonder-sk/events{/privacy}","received_events_url":"https://api.github.com/users/wonder-sk/received_events","type":"User","site_admin":false},"milestone":null,"comments":36,"created_at":"2015-07-02T09:43:53Z","updated_at":"2015-09-21T07:28:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/2189","html_url":"https://github.com/qgis/QGIS/pull/2189","diff_url":"https://github.com/qgis/QGIS/pull/2189.diff","patch_url":"https://github.com/qgis/QGIS/pull/2189.patch"},"body":"This introduces two new options to filter legend elements:\r\n- filter by expression: a boolean expression can be set. Only symbols of\r\nfeatures that make the expression evaluated to true will be kept in the legend\r\n- filter by polygon: only symbols of features that are inside the given\r\npolygon will be part of the legend.\r\n\r\nThe polygon filtering is used in particular for a new option in the\r\ncomposer legend that allows to filter out anything that is not included\r\nin the current atlas polygon.\r\n\r\nReviews are welcome on that."},"comment":{"url":"https://api.github.com/repos/qgis/QGIS/issues/comments/141897691","html_url":"https://github.com/qgis/QGIS/pull/2189#issuecomment-141897691","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/2189","id":141897691,"user":{"login":"mhugo","id":1618556,"avatar_url":"https://avatars.githubusercontent.com/u/1618556?v=3","gravatar_id":"","url":"https://api.github.com/users/mhugo","html_url":"https://github.com/mhugo","followers_url":"https://api.github.com/users/mhugo/followers","following_url":"https://api.github.com/users/mhugo/following{/other_user}","gists_url":"https://api.github.com/users/mhugo/gists{/gist_id}","starred_url":"https://api.github.com/users/mhugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhugo/subscriptions","organizations_url":"https://api.github.com/users/mhugo/orgs","repos_url":"https://api.github.com/users/mhugo/repos","events_url":"https://api.github.com/users/mhugo/events{/privacy}","received_events_url":"https://api.github.com/users/mhugo/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T07:28:40Z","updated_at":"2015-09-21T07:28:40Z","body":"hi @nyalldawson thanks for the review. I'll have a look at these bugs in the end of the week."}}