{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/5227","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/5227/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/5227/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/5227/events","html_url":"https://github.com/snipe/snipe-it/issues/5227","id":306923272,"number":5227,"title":"Assets assigned to another asset is not visible from asset view","user":{"login":"colinerd","id":15741333,"avatar_url":"https://avatars1.githubusercontent.com/u/15741333?v=4","gravatar_id":"","url":"https://api.github.com/users/colinerd","html_url":"https://github.com/colinerd","followers_url":"https://api.github.com/users/colinerd/followers","following_url":"https://api.github.com/users/colinerd/following{/other_user}","gists_url":"https://api.github.com/users/colinerd/gists{/gist_id}","starred_url":"https://api.github.com/users/colinerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinerd/subscriptions","organizations_url":"https://api.github.com/users/colinerd/orgs","repos_url":"https://api.github.com/users/colinerd/repos","events_url":"https://api.github.com/users/colinerd/events{/privacy}","received_events_url":"https://api.github.com/users/colinerd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-20T15:44:35Z","updated_at":"2018-03-20T15:58:51Z","closed_at":null,"author_association":"NONE","body":"#### Expected Behavior (or desired behavior if a feature request)\r\n\r\nWhen I assign Asset A against Asset B, this works fine. When looking up the Asset in the \"List All\" view, I can see it assigned to Asset B.\r\n\r\nNow when I open Asset B, I would expect to see Asset A visible on the \"Assets\" tab.\r\n\r\n-----\r\n\r\n#### Actual Behavior\r\n\r\nI can see in the \"List all\" asset overview all assets and I can see Asset A assigned to Asset B.\r\n\r\nWhen opening Asset B, the \"Assets\" tab remains empty while Asset A is assigned to it (as it shows on the list all assets view). The text shows \"No matching records found\"\r\n\r\n-----\r\n\r\n#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [X] I have enabled debug mode \r\n- [X] I have read [checked the Common Issues page](https://snipe-it.readme.io/docs/common-issues)\r\n\r\n-----\r\n#### Provide answers to these questions:\r\n\r\n- Is this a fresh install or an upgrade? Fresh Install\r\n- Version of Snipe-IT you're running: 4.1.14\r\n- Version of PHP you're running: 7.1.7\r\n- Version of MySQL/MariaDB you're running: 10.1\r\n- What OS and web server you're running Snipe-IT on: Windows Server 2016 & IIS 10\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Manual Install\r\n- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error: There is no error, the list view shows no matching records.\r\n- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error: http://*domainname*/hardware/375#assets\r\n- If a stacktrace is provided in the error, include that too.\r\n- Any errors that appear in your browser's error console.\r\n- Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.: Not reproducible on the demo.\r\n- Include any additional information you can find in `storage/logs` and your webserver's logs.\r\n- Include what you've done so far in the installation, and if you got any error messages along the way. There have not been any error messages nor was there an issue during assignment of the asset to another asset.\r\n- Indicate whether or not you've manually edited any data directly in the database: Not manually edited database.\r\n\r\nPlease do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.\r\n\r\nhttps://snipe-it.readme.io/docs/getting-help\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/56274739-assets-assigned-to-another-asset-is-not-visible-from-asset-view?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/374652494","html_url":"https://github.com/snipe/snipe-it/issues/5227#issuecomment-374652494","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/5227","id":374652494,"user":{"login":"snipe","id":197404,"avatar_url":"https://avatars0.githubusercontent.com/u/197404?v=4","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T15:58:51Z","updated_at":"2018-03-20T15:58:51Z","author_association":"OWNER","body":"Is there anything in your error logs?"}}
{"actor":{"display_login":"snipe"}}