Commit 155129f9 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

database.js add sample type to callLinkable

The tag filtering was defaulting to generic sample_sets due to the lack
of sample type specification in the db.call
parent 3f8fa927
......@@ -274,8 +274,10 @@ Database.prototype = {
var href = linkable.attr('href');
var type = linkable.data('linkable-type');
var name = linkable.data('linkable-name');
var sample_type = linkable.data('sample-type');
var args = {};
args[type] = name;
args['type'] = sample_type;
this.call(href, args);
},
......
Supports Markdown
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