Bugzilla – Attachment 104100 Details for
Bug 17355
Authorised value categories cannot be deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17355: DBIC changes
Bug-17355-DBIC-changes.patch (text/plain), 1.46 KB, created by
Victor Grousset/tuxayo
on 2020-05-01 14:22:04 UTC
(
hide
)
Description:
Bug 17355: DBIC changes
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-05-01 14:22:04 UTC
Size:
1.46 KB
patch
obsolete
>From 1b0994ea3b0daa1ee7b30b0231c261703ff20ce0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 28 Apr 2020 11:03:25 +0200 >Subject: [PATCH] Bug 17355: DBIC changes > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > Koha/Schema/Result/AuthorisedValueCategory.pm | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/AuthorisedValueCategory.pm b/Koha/Schema/Result/AuthorisedValueCategory.pm >index fcbb25a832..6a3cb912f0 100644 >--- a/Koha/Schema/Result/AuthorisedValueCategory.pm >+++ b/Koha/Schema/Result/AuthorisedValueCategory.pm >@@ -30,11 +30,19 @@ __PACKAGE__->table("authorised_value_categories"); > is_nullable: 0 > size: 32 > >+=head2 is_system >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( > "category_name", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, >+ "is_system", >+ { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -97,8 +105,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-30 11:59:31 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6vToj9pUcIv8Jio38rNE4g >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-28 09:07:15 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EfBQNJN5wgpFPlWVP4U+qw > > sub koha_objects_class { > 'Koha::AuthorisedValueCategories'; >-- >2.26.2
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 17355
:
64102
|
65782
|
65869
|
65870
|
66022
|
66023
|
66024
|
103833
|
103834
|
103835
|
103836
|
103837
|
103838
|
104099
|
104100
|
104101
|
104102
|
104103
|
104104
|
104117
|
104118
|
104119
|
104120
|
104121
|
104122
|
104123
|
104352
|
104539