snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

V4 - Locations not displaying any associated assets/users

Open BrettFagerlund opened this issue 9 years ago • 5 comments

Version v4.0-alpha2 build alpha2 (13)

Server 2012 R2 IIS, client using chrome 59

When accessing a location with users/assets associated no data will display and message "No matching records found" appears under both users/assets, the correct location name appears as the title/header

url - snipe.local/locations/5

no errors appearing in log

BrettFagerlund avatar May 23 '17 11:05 BrettFagerlund

Obvious question here - but you're sure there are users/assets in that location?

snipe avatar May 31 '17 13:05 snipe

Yes, both users and assets assigned to that location. Under the locations list, there is both assets and assets assigned columns, assigned has a count where as assets shows 0. I may be misunderstanding what should show here, but what's the difference between the "assets" and "assets assigned" columns?

BrettFagerlund avatar Jun 01 '17 03:06 BrettFagerlund

Assets assigned are assets that are in that location by way of inheriting their location from the user they're assigned to, versus the default location

snipe avatar Jun 02 '17 03:06 snipe

in that case the users exist in the location and assets are assigned to those users, so both counts should be equal? Data is based off single location at the moment, but neither users or assets appear in the location listing.

BrettFagerlund avatar Jun 05 '17 00:06 BrettFagerlund

#3599 fixes this, 04a2d55 in specific... I can rebase when I have some time.

mnemonicly avatar Jun 11 '17 17:06 mnemonicly