mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
The rtd_assets() relation on Location has no built-in status filter, so withCount('rtd_assets') counted archived assets and disagreed with the tab count. The other two (assets, assignedAssets) already had filters in place but I added the closure to all three for consistency and defense against future relation edits.