snipe-it/app
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
..
Console Remove duplicate settings call 2024-05-06 17:08:16 -07:00
Events
Exceptions
Helpers Added avif to helpers 2024-03-20 12:30:28 +00:00
Http Fixes #14701 - wrong total asset count 2024-05-08 09:34:35 +02:00
Importer
Jobs
LegacyEncrypter
Listeners
Models Merge pull request #14391 from snipe/features/add_Brother_188mm_tape_label 2024-05-02 13:14:04 +01:00
Notifications Ensure webhook endpoint is set before attempting to send to google or microsoft 2024-03-07 18:10:10 -08:00
Observers
Policies Fixed tests 2024-04-17 09:26:07 +01:00
Presenters Merge pull request #14262 from akemidx/bug/sc-24812 2024-03-27 19:02:25 +00:00
Providers Merge pull request #14591 from snipe/bug/sc-25258/naive_fix_for_user_scoping 2024-04-17 21:49:53 +01:00
Services
View Add comment 2024-04-11 17:23:28 -07:00