use new similar.json endpoint
This commit is contained in:
parent
7d38c16329
commit
2766aa3363
|
@ -1,6 +1,6 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
$.getJSON("/feature/search_related.json", {
|
$.getJSON("/feature/" + FEATURE_ID + "/similar.json", {
|
||||||
'id': FEATURE_ID
|
|
||||||
}, function(data) {
|
}, function(data) {
|
||||||
for (var i=0; i<data.length;i++) {
|
for (var i=0; i<data.length;i++) {
|
||||||
var $row = getRow(data[i]);
|
var $row = getRow(data[i]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user