{"action":"created","issue":{"url":"https://api.github.com/repos/digitalocean/netbox/issues/3026","repository_url":"https://api.github.com/repos/digitalocean/netbox","labels_url":"https://api.github.com/repos/digitalocean/netbox/issues/3026/labels{/name}","comments_url":"https://api.github.com/repos/digitalocean/netbox/issues/3026/comments","events_url":"https://api.github.com/repos/digitalocean/netbox/issues/3026/events","html_url":"https://github.com/digitalocean/netbox/issues/3026","id":424826912,"node_id":"MDU6SXNzdWU0MjQ4MjY5MTI=","number":3026,"title":"search for prefixes within a VRF does not work","user":{"login":"JuergenKammer","id":33425813,"node_id":"MDQ6VXNlcjMzNDI1ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/33425813?v=4","gravatar_id":"","url":"https://api.github.com/users/JuergenKammer","html_url":"https://github.com/JuergenKammer","followers_url":"https://api.github.com/users/JuergenKammer/followers","following_url":"https://api.github.com/users/JuergenKammer/following{/other_user}","gists_url":"https://api.github.com/users/JuergenKammer/gists{/gist_id}","starred_url":"https://api.github.com/users/JuergenKammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuergenKammer/subscriptions","organizations_url":"https://api.github.com/users/JuergenKammer/orgs","repos_url":"https://api.github.com/users/JuergenKammer/repos","events_url":"https://api.github.com/users/JuergenKammer/events{/privacy}","received_events_url":"https://api.github.com/users/JuergenKammer/received_events","type":"User","site_admin":false},"labels":[{"id":401612483,"node_id":"MDU6TGFiZWw0MDE2MTI0ODM=","url":"https://api.github.com/repos/digitalocean/netbox/labels/status:%20accepted","name":"status: accepted","color":"0e8a16","default":false},{"id":333772677,"node_id":"MDU6TGFiZWwzMzM3NzI2Nzc=","url":"https://api.github.com/repos/digitalocean/netbox/labels/type:%20bug","name":"type: bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-03-25T10:31:22Z","updated_at":"2019-03-25T15:02:09Z","closed_at":null,"author_association":"NONE","body":"### Environment\r\n* Python version:  3.6.8\r\n* NetBox version:  2.5.8\r\n\r\n### Steps to Reproduce\r\n1. Create VRFs\r\n2. Create Prefixes in different VRFs\r\n3. Select \"IPAM\"->\"Prefixes\"\r\n4. Use the search area on the right side, select a VRF from which prefixes should be shown, and select \"apply\"\r\n\r\n<!-- What did you expect to happen? -->\r\n### Expected Behavior\r\n5. Prefixes in only the selected VRF(s) are shown\r\n\r\n<!-- What happened instead? -->\r\n### Observed Behavior\r\n5. Prefixes from all VRFs are shown\r\n\r\n### REASON for the error:\r\n- the URL which is called when clicking on \"apply\" ends in something like:\r\n.../ipam/prefixes/?q=&within_include=&family=&mask_length=&vrf=8&is_pool=\r\n\r\n### SOLUTION:\r\nit should be:\r\n../ipam/prefixes/?q=&within_include=&family=&mask_length=&vrf_id=8&is_pool=\r\n\r\nI.e. the selected vrf is mapped to its id, but the search looks for a vrf named such, not for the vrf_id with that number.\r\n\r\nThe URL with \"vrf_id=...\" results in the expected behavior.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/digitalocean/netbox/issues/comments/476236399","html_url":"https://github.com/digitalocean/netbox/issues/3026#issuecomment-476236399","issue_url":"https://api.github.com/repos/digitalocean/netbox/issues/3026","id":476236399,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NjIzNjM5OQ==","user":{"login":"DanSheps","id":11049792,"node_id":"MDQ6VXNlcjExMDQ5Nzky","avatar_url":"https://avatars2.githubusercontent.com/u/11049792?v=4","gravatar_id":"","url":"https://api.github.com/users/DanSheps","html_url":"https://github.com/DanSheps","followers_url":"https://api.github.com/users/DanSheps/followers","following_url":"https://api.github.com/users/DanSheps/following{/other_user}","gists_url":"https://api.github.com/users/DanSheps/gists{/gist_id}","starred_url":"https://api.github.com/users/DanSheps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanSheps/subscriptions","organizations_url":"https://api.github.com/users/DanSheps/orgs","repos_url":"https://api.github.com/users/DanSheps/repos","events_url":"https://api.github.com/users/DanSheps/events{/privacy}","received_events_url":"https://api.github.com/users/DanSheps/received_events","type":"User","site_admin":false},"created_at":"2019-03-25T15:02:09Z","updated_at":"2019-03-25T15:02:09Z","author_association":"COLLABORATOR","body":"Any form using vrf rd will be affected."}}
{"actor":{"display_login":"DanSheps"}}