@@ -, +, @@ --- C4/Serials.pm | 2 +- installer/data/mysql/kohastructure.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/C4/Serials.pm +++ a/C4/Serials.pm @@ -746,7 +746,7 @@ sub SearchSubscriptions { record_id => $subscription->{subscriptionid}, tablename => 'subscription' }); - $subscription->{addition_fields} = $additional_field_values->{$subscription->{subscriptionid}}; + $subscription->{additional_fields} = $additional_field_values->{$subscription->{subscriptionid}}; } return @$results; --- a/installer/data/mysql/kohastructure.sql +++ a/installer/data/mysql/kohastructure.sql @@ -3387,7 +3387,7 @@ CREATE TABLE IF NOT EXISTS marc_modification_template_actions ( CONSTRAINT `mmta_ibfk_1` FOREIGN KEY (`template_id`) REFERENCES `marc_modification_templates` (`template_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- Table structure for table addition_fields +-- Table structure for table additional_fields -- This table add the ability to add new fields for a record -- @@ -3409,7 +3409,7 @@ CREATE TABLE `additional_fields` ( CREATE TABLE `additional_field_values` ( `id` int(11) NOT NULL AUTO_INCREMENT, -- primary key identifier - `field_id` int(11) NOT NULL, -- foreign key references addition_fields(id) + `field_id` int(11) NOT NULL, -- foreign key references additional_fields(id) `record_id` int(11) NOT NULL, -- record_id `value` varchar(255) NOT NULL DEFAULT '', -- value for this field PRIMARY KEY (`id`), --