Skip to content
Snippets Groups Projects
Commit b4b9f66a authored by anonymous's avatar anonymous
Browse files

action logic

parent 1a8cbeaf
Branches
Tags
No related merge requests found
...@@ -39,9 +39,9 @@ def odsh_user_create(context, data_dict): ...@@ -39,9 +39,9 @@ def odsh_user_create(context, data_dict):
return model_dictize.user_dictize(model.User.get(user.get('name')), context) return model_dictize.user_dictize(model.User.get(user.get('name')), context)
def autocomplete(self, q): def autocomplete(context, data_dict):
query = { query = {
'spellcheck.q': q, 'spellcheck.q': data_dict['q'],
'wt': 'json'} 'wt': 'json'}
conn = make_connection(decode_dates=False) conn = make_connection(decode_dates=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment