snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Bulk Audit: New Items on Top

Open zedgama3 opened this issue 6 years ago • 3 comments

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>");

zedgama3 avatar Dec 18 '19 18:12 zedgama3

I confirm the need for this opportunity

UserGoodtm avatar Dec 19 '19 19:12 UserGoodtm

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!

stale[bot] avatar Feb 17 '20 20:02 stale[bot]

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.

stale[bot] avatar Feb 24 '20 21:02 stale[bot]