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 Track changes on asset checkin/out 2023-09-01 13:12:07 +10:00
Exceptions rm unnecessary import 2023-11-01 11:34:15 -05:00
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 that's all of 'em 2024-01-25 20:04:02 -06:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
Listeners Change exceptions to warnings 2024-02-15 12:28:12 +00:00
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 changes from a note to a source 2024-01-30 15:14:59 -06:00
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 Fixed pluralization bug due to dashed-locale names instead of underscored 2024-01-26 15:40:55 +00:00
View Add comment 2024-04-11 17:23:28 -07:00