Commit fa9c90df authored by Ryan Herbert's avatar Ryan Herbert
Browse files

autocomplete.js,, reformat sample_set autocomplete

The data needed to contain an object with the name field for each entry
for the fetchData method to effectively parse the data.
parent 18c0e519
......@@ -130,8 +130,8 @@ VidjilAutoComplete.prototype = {
var res = $.map(data, function(i) {
return {
name: i,
search: i
return res;
......@@ -592,7 +592,7 @@ def get_sample_set_list(type):
helper = factory.get_instance(type=type)
for row in query :
tmp = helper.get_id_string(row)
return ss_list
def auto_complete():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment