Consumables/Accessories Not Correctly Displayed via Locations for Fix #9355
Please confirm you have done the following before posting your bug report:
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug Previous fix #9355 added the ability to view Consumables and Accessories from the Locations page. This was implemented in Snipe-IT version 5.1.5. I recently upgraded from 5.1.4 to 5.1.8 and noticed that ALL of the Consumables and Accessories show under the Locations page--not just the location you are viewing. Components are still displayed via their location correctly. I confirmed this issue on my local Snipe, and your current demo, and development versions.
Expected behavior I am expecting that only the Consumables and Accessories from that location would be displayed, not every thing in Snipe-IT.
Server (please complete the following information): Snipe-IT Version: v5.1.8 OS: Windows Server 2016 Web Server: IIS 10.0 PHP Version 7.4.0
Desktop (please complete the following information):
- Windows and Mac
- All browsers
I understand that more, if not all development, is now going towards Snipe-IT v6. Congrats and looking forward to it! Would appreciate if this issue was resolved in v5 or v6 moving forward. Thank you.
Please 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.
Can you point me to something on the demo where we can reproduce this? It’s the first tome we’re hearing of this.
Screenshot attached. Navigating to Settings, then Locations, and then click the location you would like to view. Regardless of the location, all Consumables and Accessories show on the page. In this example, I chose North Noble from the demo page.
Kenn Jewell
-- No trees were harmed in creating this message, however a large number of electrons were terribly inconvenienced.
On Jul 23, 2021, at 10:24 AM, snipe @.***> wrote:
Can you point me to something on the demo where we can reproduce this? It’s the first tome we’re hearing of this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/9853#issuecomment-885716741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3RQRTNFYLGLTYCY4XR3S3TZGCTLANCNFSM5A4GRMXA.

I’m not seeing any screenshots attached here, but I’ll see if we can reproduce this. If we can, this fix would be in before v6
I edited and included a link/attachment in my previous post. Hope that helps.
Thanks for the additional info :)
@inietov can you take a look at this?
Works beautifully. Thank you!