Skip to content

Commit

Permalink
Join/load: replace strings with attrs (webapps...controllers.history)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Jan 20, 2023
1 parent 96b8ef6 commit e77f9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def get_value(self, trans, grid, history):
]

def build_initial_query(self, trans, **kwargs):
return trans.sa_session.query(self.model_class).join("users_shared_with")
return trans.sa_session.query(self.model_class).join(self.model_class.users_shared_with)

def apply_query_filter(self, trans, query, **kwargs):
return query.filter(model.HistoryUserShareAssociation.user == trans.user)
Expand Down

0 comments on commit e77f9bb

Please sign in to comment.