When you move an asset to a new version, only the current version is moved, instead of all of them.
This commit is contained in:
parent
48b4ba1fc8
commit
d9c050423f
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
7.6.4
|
||||
- Brand new Survey system. Make sure to export your old results as they will
|
||||
not be imported, only the surveys themselves.
|
||||
|
||||
- fixed #8837: When you move an asset to a new version, only the current version is moved, instead of all of them.
|
||||
7.6.3
|
||||
- improved performance of file uploads
|
||||
- changed format of created uploads locations, avoiding case sensitivity problems
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@ A new version tag id.
|
|||
sub setVersionTag {
|
||||
my $self = shift;
|
||||
my $tagId = shift;
|
||||
$self->session->db->write("update assetData set tagId=? where assetId=?", [$tagId, $self->getId]);
|
||||
$self->session->db->write("update assetData set tagId=? where assetId=? and tagId = ?", [$tagId, $self->getId,$self->get('tagId')]);
|
||||
$self->updateHistory("changed version tag to $tagId");
|
||||
$self->purgeCache;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue