A continuation of HomeBox the inventory and organization system built for the Home User
Include label and location counts in wipe inventory total
copilot-swe-agent[bot]03dc7fa8417b
diff --git a/.scaffold/go.sum b/.scaffold/go.sumindex 90805ece..d6c9e8a7 100644--- a/.scaffold/go.sum+++ b/.scaffold/go.sum@@ -8,7 +8,7 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIgithub.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=-github.com/sysadminsmedia/homebox/backend v0.0.0-20251226222718-473027c1aea3 h1:O7Sy/SfxuqxaeR4kUK/sRhHPeKrmraszRyK7ROJZ7Qw=-github.com/sysadminsmedia/homebox/backend v0.0.0-20251226222718-473027c1aea3/go.mod h1:9zHHw5TNttw5Kn4Wks+SxwXmJPz6PgGNbnB4BtF1Z4c=+github.com/sysadminsmedia/homebox/backend v0.0.0-20251228052820-4557df86eddb h1:nRu1qr3gceoIIDJolCRnd/Eo5VLAMoH9CYnyKCCVBuA=+github.com/sysadminsmedia/homebox/backend v0.0.0-20251228052820-4557df86eddb/go.mod h1:9zHHw5TNttw5Kn4Wks+SxwXmJPz6PgGNbnB4BtF1Z4c=gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=diff --git a/backend/internal/data/repo/repo_items.go b/backend/internal/data/repo/repo_items.goindex 388a0537..c85f5b94 100644--- a/backend/internal/data/repo/repo_items.go+++ b/backend/internal/data/repo/repo_items.go@@ -857,6 +857,7 @@ func (e *ItemsRepository) WipeInventory(ctx context.Context, gid uuid.UUID, wipelog.Err(err).Msg("failed to delete labels during wipe inventory")} else {log.Info().Int("count", labelCount).Msg("deleted labels during wipe inventory")+ deleted += labelCount}}@@ -867,6 +868,7 @@ func (e *ItemsRepository) WipeInventory(ctx context.Context, gid uuid.UUID, wipelog.Err(err).Msg("failed to delete locations during wipe inventory")} else {log.Info().Int("count", locationCount).Msg("deleted locations during wipe inventory")+ deleted += locationCount}}