Bugzilla – Attachment 132476 Details for
Bug 26346
Add option to make a public list editable by library staff only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26346: Updated schema file
Bug-26346-Updated-schema-file.patch (text/plain), 1.78 KB, created by
Lucas Gass (lukeg)
on 2022-03-29 16:22:22 UTC
(
hide
)
Description:
Bug 26346: Updated schema file
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-03-29 16:22:22 UTC
Size:
1.78 KB
patch
obsolete
>From 72101c1d7b173e63a613f04679cfac6efda481d6 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Fri, 2 Jul 2021 06:51:37 +0000 >Subject: [PATCH] Bug 26346: Updated schema file > >Sponsored-By: Catalyst IT > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > Koha/Schema/Result/Virtualshelve.pm | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > >diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm >index 9aaae8d602..06bc299c62 100644 >--- a/Koha/Schema/Result/Virtualshelve.pm >+++ b/Koha/Schema/Result/Virtualshelve.pm >@@ -97,6 +97,12 @@ can owner change contents? > > can others change contents? > >+=head2 allow_change_from_staff >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -132,6 +138,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 1, is_nullable => 1 }, > "allow_change_from_others", > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, >+ "allow_change_from_staff", >+ { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -199,8 +207,8 @@ __PACKAGE__->has_many( > ); > > >-# 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 >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-11-24 12:55:31 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vasSog+BlcRyTYFKGhyCIA > > sub koha_object_class { > 'Koha::Virtualshelf'; >@@ -209,8 +217,5 @@ sub koha_objects_class { > 'Koha::Virtualshelves'; > } > >-__PACKAGE__->add_columns( >- '+public' => { is_boolean => 1 }, >-); >- >+# You can replace this text with custom code or comments, and it will be preserved on regeneration > 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 26346
:
119686
|
120663
|
120664
|
120665
|
120909
|
120910
|
120953
|
120954
|
121511
|
121512
|
122033
|
122034
|
122533
|
122535
|
122536
|
122537
|
122538
|
122539
|
122540
|
122685
|
122686
|
122687
|
122688
|
122689
|
122691
|
124010
|
124011
|
125436
|
125472
|
125914
|
125915
|
125916
|
125917
|
127556
|
127557
|
127558
|
127559
|
127560
|
128017
|
128018
|
128019
|
128020
|
128021
|
128022
|
128023
|
128383
|
128384
|
128385
|
131699
|
131700
|
131757
|
131764
|
132373
|
132475
|
132476
|
132477
|
132478
|
132479
|
132751
|
132752
|
132753
|
132754
|
132755