Another ambiguous column name fix

This commit is contained in:
Jonathan Wong 2015-09-16 13:40:47 -07:00
parent 626e7fdf82
commit 060c549259
2 changed files with 3 additions and 3 deletions

View file

@ -580,9 +580,9 @@ class WebInterface(object):
custom_where=[]
if user_id:
custom_where = [['user_id', user_id]]
custom_where = [['session_history.user_id', user_id]]
elif user:
custom_where = [['user', user]]
custom_where = [['session_history.user', user]]
if 'rating_key' in kwargs:
rating_key = kwargs.get('rating_key', "")
custom_where = [['session_history.rating_key', rating_key]]