fix: CS posts get re-ordered when copy/paste
This commit is contained in:
parent
d0a97d0bff
commit
ac1a7dc3a3
4 changed files with 29 additions and 15 deletions
|
|
@ -63,11 +63,11 @@ If this is set to 1 assets that normally autocommit their workflows (like CS Pos
|
|||
=cut
|
||||
|
||||
sub addChild {
|
||||
my $self = shift;
|
||||
my $properties = shift;
|
||||
my $id = shift || $self->session->id->generate();
|
||||
my $now = shift || $self->session->datetime->time();
|
||||
my $options = shift;
|
||||
my $self = shift;
|
||||
my $properties = shift;
|
||||
my $id = shift || $self->session->id->generate();
|
||||
my $now = shift || $self->session->datetime->time();
|
||||
my $options = shift;
|
||||
|
||||
# Check if it is possible to add a child to this asset. If not add it as a sibling of this asset.
|
||||
if (length($self->get("lineage")) >= 252) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue