Skip to content

Commit

Permalink
Merge pull request #1935 from anyproto/go-4670-filter-lastmodified-tab
Browse files Browse the repository at this point in the history
GO-4670 Filter out lasModifiedDate tab
  • Loading branch information
KirillSto authored Dec 11, 2024
2 parents 58163af + f927c6a commit 854d11f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/block/object/objectcreator/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ func (s *service) prepareDetailsForInstallingObject(
details.Fields[bundle.RelationKeySourceObject.String()] = pbtypes.String(sourceId)
details.Fields[bundle.RelationKeyIsReadonly.String()] = pbtypes.Bool(false)

// we should delete old createdDate as it belongs to source object from marketplace
delete(details.Fields, bundle.RelationKeyCreatedDate.String())

if isNewSpace {
lastused.SetLastUsedDateForInitialObjectType(sourceId, details)
}
Expand Down

0 comments on commit 854d11f

Please sign in to comment.