Skip to content

Commit

Permalink
Merge pull request #12666 from ic4f/dev_ts_declarative
Browse files Browse the repository at this point in the history
TS model: declarative mapping + prep for SQLAlchemy 2.0
  • Loading branch information
jdavcs authored Oct 14, 2021
2 parents eb17bb5 + 4fe97b6 commit 202bff4
Show file tree
Hide file tree
Showing 5 changed files with 1,589 additions and 502 deletions.
4 changes: 2 additions & 2 deletions lib/tool_shed/grids/admin_grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def get_value(self, trans, grid, group):
class UsersColumn(grids.GridColumn):

def get_value(self, trans, grid, group):
if group.members:
return len(group.members)
if group.users:
return len(group.users)
return 0

title = "Groups"
Expand Down
Loading

0 comments on commit 202bff4

Please sign in to comment.