Bugzilla – Attachment 124800 Details for
Bug 28959
virtualshelves.category is really a boolean
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28959: DBIC update
Bug-28959-DBIC-update.patch (text/plain), 1.89 KB, created by
David Nind
on 2021-09-11 20:37:52 UTC
(
hide
)
Description:
Bug 28959: DBIC update
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-09-11 20:37:52 UTC
Size:
1.89 KB
patch
obsolete
>From e9a0f41be4f6c2d5d44c071b253c32e969e4d09a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 7 Sep 2021 08:09:39 -0300 >Subject: [PATCH] Bug 28959: DBIC update > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Schema/Result/Virtualshelve.pm | 22 +++++++++++++--------- > 1 file changed, 13 insertions(+), 9 deletions(-) > >diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm >index 4fa1265959..9aaae8d602 100644 >--- a/Koha/Schema/Result/Virtualshelve.pm >+++ b/Koha/Schema/Result/Virtualshelve.pm >@@ -47,13 +47,13 @@ name of the list > > foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int) > >-=head2 category >+=head2 public > >- data_type: 'varchar' >- is_nullable: 1 >- size: 1 >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 > >-type of list (private [1], public [2]) >+If the list is public > > =head2 sortfield > >@@ -106,8 +106,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 255 }, > "owner", > { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, >- "category", >- { data_type => "varchar", is_nullable => 1, size => 1 }, >+ "public", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "sortfield", > { > data_type => "varchar", >@@ -199,8 +199,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6ZQ6kL/0DzyOMymz+4+LhA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-09-07 11:08:02 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QH2/kScjb+lwTwrChjem1Q > > sub koha_object_class { > 'Koha::Virtualshelf'; >@@ -209,4 +209,8 @@ sub koha_objects_class { > 'Koha::Virtualshelves'; > } > >+__PACKAGE__->add_columns( >+ '+public' => { is_boolean => 1 }, >+); >+ > 1; >-- >2.20.1
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 28959
:
124619
|
124620
|
124621
|
124622
|
124623
|
124624
|
124625
|
124663
|
124788
|
124799
|
124800
|
124801
|
124802
|
124803
|
124807
|
124808
|
124809
|
124810
|
124811
|
127046
|
127047
|
127048
|
127049
|
127050
|
127059
|
127060
|
127062
|
127142
|
127206
|
128036