Vue Attract: Default sort shots by cut_in_timeline_in_frames
This commit is contained in:
@@ -2,8 +2,9 @@ function thenGetProjectShots(projectId) {
|
|||||||
let where = {
|
let where = {
|
||||||
project: projectId,
|
project: projectId,
|
||||||
node_type: 'attract_shot'
|
node_type: 'attract_shot'
|
||||||
}
|
};
|
||||||
return pillar.api.thenGetNodes(where);
|
let sort = '-properties.used_in_edit,properties.cut_in_timeline_in_frames';
|
||||||
|
return pillar.api.thenGetNodes(where, {}, sort);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { thenGetProjectShots }
|
export { thenGetProjectShots }
|
||||||
|
Reference in New Issue
Block a user