Vue Attract: Default sort shots by cut_in_timeline_in_frames
This commit is contained in:
parent
2f5f73843d
commit
250c7e2631
@ -1,8 +1,9 @@
|
|||||||
function thenGetNodes(where, embedded={}) {
|
function thenGetNodes(where, embedded={}, sort='') {
|
||||||
let encodedWhere = encodeURIComponent(JSON.stringify(where));
|
let encodedWhere = encodeURIComponent(JSON.stringify(where));
|
||||||
let encodedEmbedded = encodeURIComponent(JSON.stringify(embedded));
|
let encodedEmbedded = encodeURIComponent(JSON.stringify(embedded));
|
||||||
|
let encodedSort = encodeURIComponent(sort);
|
||||||
|
|
||||||
return $.get(`/api/nodes?where=${encodedWhere}&embedded=${encodedEmbedded}`);
|
return $.get(`/api/nodes?where=${encodedWhere}&embedded=${encodedEmbedded}&sort=${encodedSort}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { thenGetNodes }
|
export { thenGetNodes }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user