Bugzilla – Attachment 67909 Details for
Bug 15685
Allow creation of items (AcqCreateItem) to be customizable per-basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15685: DBIC Schema changes
Bug-15685-DBIC-Schema-changes.patch (text/plain), 1.68 KB, created by
Jonathan Druart
on 2017-10-10 20:48:48 UTC
(
hide
)
Description:
Bug 15685: DBIC Schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-10 20:48:48 UTC
Size:
1.68 KB
patch
obsolete
>From 660831ee4341a3493e972794556909ff28b947e6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Oct 2017 17:32:49 -0300 >Subject: [PATCH] Bug 15685: DBIC Schema changes > >--- > Koha/Schema/Result/Aqbasket.pm | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Aqbasket.pm b/Koha/Schema/Result/Aqbasket.pm >index f4dd75d68e..d820708b36 100644 >--- a/Koha/Schema/Result/Aqbasket.pm >+++ b/Koha/Schema/Result/Aqbasket.pm >@@ -112,6 +112,12 @@ __PACKAGE__->table("aqbasket"); > default_value: 0 > is_nullable: 0 > >+=head2 create_items >+ >+ data_type: 'enum' >+ extra: {list => ["ordering","receiving","cataloguing"]} >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -150,6 +156,12 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, > "is_standing", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "create_items", >+ { >+ data_type => "enum", >+ extra => { list => ["ordering", "receiving", "cataloguing"] }, >+ is_nullable => 1, >+ }, > ); > > =head1 PRIMARY KEY >@@ -297,8 +309,8 @@ Composing rels: L</aqbasketusers> -> borrowernumber > __PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 13:13:55 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6gRJtrZ6ZXLHjqX281d9Hg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-10 14:27:08 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4lGbfEcXLR67RbYp4aNzTg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.11.0
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 15685
:
47783
|
55094
|
55096
|
57390
|
57392
|
57395
|
57424
|
57425
|
57426
|
57427
|
64918
|
64919
|
64920
|
64921
|
64922
|
65119
|
65120
|
65121
|
65122
|
65895
|
65896
|
65897
|
65898
|
65899
|
65900
|
66119
|
66120
|
66121
|
66122
|
66123
|
66124
|
67638
|
67639
|
67640
|
67641
|
67642
|
67643
|
67644
|
67645
|
67646
|
67647
|
67689
|
67690
|
67691
|
67692
|
67693
|
67694
|
67695
|
67696
|
67697
|
67698
|
67884
|
67898
|
67899
|
67900
|
67901
|
67902
|
67903
|
67904
|
67905
|
67906
|
67907
|
67908
| 67909 |
67910
|
67911