Bulk Audit: New Items on Top
Server (please complete the following information):
- Snipe-IT Version 4.8
- OS: CentOS
- Web Server: Apache
- PHP Version 7.1
Is your feature request related to a problem? Please describe. I can't tell when an item is scanned improperly when using bulk audit because it's at the bottom of the page and I'm scanning at the top.
Describe the solution you'd like I would like to have it add newly scanned items to the top of the list – preferably with an item description since one of the techs failed to assign asset tags to the correct items
Describe alternatives you've considered An audible alert that denotes a bad scan.
Additional context I've implemented this in my version and am providing a diff of the appropriate file here:
$ diff quickscan.blade.php quickscan.blade.php.bak
143c143
< $('#audited tbody tr:first').after("<tr class='success'><td>" + data.payload.asset_tag + "</td><td>" + data.messages + "</td><td><i class='fa fa-check text-success'></i></td></tr>");
---
> $('#audited tbody').append("<tr class='success'><td>" + data.payload.asset_tag + "</td><td>" + data.messages + "</td><td><i class='fa fa-check text-success'></i></td></tr>");
173c173
< $('#audited tbody tr:first').after("<tr class='danger'><td>" + asset_tag + "</td><td>" + messages + "</td><td><i class='fa fa-times text-danger'></i></td></tr>");
---
> $('#audited tbody').append("<tr class='danger'><td>" + asset_tag + "</td><td>" + messages + "</td><td><i class='fa fa-times text-danger'></i></td></tr>");
I confirm the need for this opportunity
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.