Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous.
This commit is contained in:
parent
b6324d17a5
commit
f56c0873d8
4 changed files with 63 additions and 4 deletions
|
|
@ -63,6 +63,13 @@ sub definition {
|
|||
},
|
||||
);
|
||||
|
||||
# UserDefined Fields
|
||||
for my $i (1 .. 5) {
|
||||
$properties{"userDefined".$i} = {
|
||||
defaultValue => undef,
|
||||
};
|
||||
}
|
||||
|
||||
push @{$definition}, {
|
||||
assetName => $i18n->get('assetName'),
|
||||
autoGenerateForms => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue