snipe-it/app/Http
Tobias Regnery b2a5d86e30 Fixes #14701 - wrong total asset count
The total asset count in the sidenav shows the ready to deploy count instead of the total count.
Fix this by adjusting the query to all assets. Also respect the setting for archived assets.
Add a default value for total assets, since we are now using the settings-variable, which is not available during the setup process.

While at it, move the block for total assets before the ready to deploy assets to match the ordering of the sidenav.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
2024-05-08 09:34:35 +02:00
..
Controllers Removed extra settings param 2024-05-02 12:36:57 +01:00
Livewire Remloved unneeded validation message 2024-03-07 23:40:30 +00:00
Middleware Fixes #14701 - wrong total asset count 2024-05-08 09:34:35 +02:00
Requests Add additional condition 2024-04-25 17:04:07 -07:00
Traits Improve trait name 2024-02-27 12:06:29 -08:00
Transformers Merge branch 'develop' into bug/sc-24812 2024-02-28 17:22:16 -05:00
Kernel.php Log user out of other devices when they change their password 2022-08-25 12:24:26 -07:00