Bugzilla – Attachment 175801 Details for
Bug 35380
PUT /biblios/:biblio_id doesn't respect overlay rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35380: [DO NOT PUSH] dbic
Bug-35380-DO-NOT-PUSH-dbic.patch (text/plain), 1.72 KB, created by
Jan Kissig
on 2024-12-19 19:10:44 UTC
(
hide
)
Description:
Bug 35380: [DO NOT PUSH] dbic
Filename:
MIME Type:
Creator:
Jan Kissig
Created:
2024-12-19 19:10:44 UTC
Size:
1.72 KB
patch
obsolete
>From ae09703dbf596f44aab522bc16e325984936de74 Mon Sep 17 00:00:00 2001 >From: Jan Kissig <bibliothek@th-wildau.de> >Date: Mon, 16 Dec 2024 10:05:28 +0000 >Subject: [PATCH] Bug 35380: [DO NOT PUSH] dbic > >--- > Koha/Schema/Result/RecordSource.pm | 26 ++++++++++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/RecordSource.pm b/Koha/Schema/Result/RecordSource.pm >index c9b8ec6129..2d356a7e75 100644 >--- a/Koha/Schema/Result/RecordSource.pm >+++ b/Koha/Schema/Result/RecordSource.pm >@@ -46,6 +46,12 @@ User defined name for the record source > > If records from this source can be edited > >+=head2 is_system >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -55,6 +61,8 @@ __PACKAGE__->add_columns( > { data_type => "text", is_nullable => 0 }, > "can_be_edited", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "is_system", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -69,6 +77,20 @@ __PACKAGE__->add_columns( > > __PACKAGE__->set_primary_key("record_source_id"); > >+=head1 UNIQUE CONSTRAINTS >+ >+=head2 C<name> >+ >+=over 4 >+ >+=item * L</name> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->add_unique_constraint("name", ["name"]); >+ > =head1 RELATIONS > > =head2 biblio_metadatas >@@ -102,8 +124,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-01-24 18:05:50 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WX72aRYhWBK9bQWr9AJk2A >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-16 09:34:56 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1jhb17Jilqs2wUjUWbhjyA > > __PACKAGE__->add_columns( > '+can_be_edited' => { is_boolean => 1 }, >-- >2.39.5
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 35380
:
175800
| 175801 |
175802
|
175803