Skip to content

Commit

Permalink
fix(archesproject#2650): full reports not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Nov 18, 2024
1 parent c4c4a16 commit 0dbebb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/models/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def load_tiles(self, user=None, perm='read_nodegroup'):
self.tiles = list(models.TileModel.objects.filter(resourceinstance=self))
if user:
readable_nodegroups = get_nodegroups_by_perm(user, perm, any_perm=True)
self.tiles = [tile for tile in self.tiles if tile.nodegroup is not None and tile.nodegroup_id in readable_nodegroups]
self.tiles = [tile for tile in self.tiles if tile.nodegroup is not None and str(tile.nodegroup_id) in readable_nodegroups]

# # flatten out the nested tiles into a single array
def get_flattened_tiles(self):
Expand Down

0 comments on commit 0dbebb2

Please sign in to comment.