Bugzilla – Attachment 22768 Details for
Bug 10855
Custom fields for subscriptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10855: Fix typo addition_fields -> additional_fields
Bug-10855-Fix-typo-additionfields---additionalfiel.patch (text/plain), 1.99 KB, created by
Jonathan Druart
on 2013-11-07 12:42:05 UTC
(
hide
)
Description:
Bug 10855: Fix typo addition_fields -> additional_fields
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-11-07 12:42:05 UTC
Size:
1.99 KB
patch
obsolete
>From 8f44dce5ed1f37f58149396ae2ea28598d323f83 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 7 Nov 2013 12:43:45 +0100 >Subject: [PATCH] Bug 10855: Fix typo addition_fields -> additional_fields > >--- > C4/Serials.pm | 2 +- > installer/data/mysql/kohastructure.sql | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 409fa10..4de2b65 100644 >--- a/C4/Serials.pm >+++ b/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; >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 437afd9..508db6b 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/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`), >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10855
:
20937
|
20938
|
20939
|
20940
|
20941
|
20942
|
20943
|
20944
|
21184
|
21185
|
21186
|
21187
|
21188
|
21189
|
21190
|
21191
|
21663
|
22049
|
22050
|
22051
|
22052
|
22053
|
22054
|
22055
|
22056
|
22057
|
22359
|
22360
|
22600
|
22601
|
22602
|
22603
|
22604
|
22605
|
22606
|
22607
|
22608
|
22616
|
22698
|
22699
|
22700
|
22701
|
22702
|
22703
|
22722
|
22768
|
22769
|
22869
|
23052
|
23053
|
23142
|
23143
|
23301
|
23302
|
23594
|
23595
|
23596
|
23597
|
23598
|
23599
|
23600
|
23601
|
23602
|
23774
|
23775
|
23961
|
23962
|
23963
|
23964
|
24452
|
24453
|
24454
|
24455
|
24456
|
24457
|
24569
|
24570
|
26091
|
26092
|
26093
|
26094
|
26095
|
26096
|
26097
|
26254
|
26255
|
26256
|
26257
|
26258
|
26259
|
26260
|
26276
|
26651
|
26655
|
28929
|
28930
|
28931
|
28932
|
28933
|
28934
|
28935
|
28936
|
28937
|
28938
|
28939
|
28940
|
28941
|
29095
|
29161
|
35211
|
35212
|
35213
|
35214
|
35215
|
35216
|
35217
|
35218
|
35219
|
35220
|
35221
|
35309
|
35310
|
35369
|
35556
|
36359
|
36362
|
36363
|
36364
|
36365
|
36366
|
36367
|
36368
|
36369
|
36370
|
36371
|
36372
|
36373
|
36374
|
38549
|
38550
|
38551
|
38552
|
38553
|
38554
|
38555
|
38556
|
38557
|
38558
|
38559
|
38560
|
38561
|
42296
|
42297
|
42298
|
42299
|
42300
|
42301
|
42302
|
42303
|
42304
|
42305
|
42306
|
42307
|
42308
|
42309
|
42310
|
42332
|
42333
|
43076