Bugzilla – Attachment 97601 Details for
Bug 24289
Deleting branch will not delete entry in special or repeatable holidays
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24289: DBIC changes
Bug-24289-DBIC-changes.patch (text/plain), 1.85 KB, created by
Katrin Fischer
on 2020-01-20 07:06:23 UTC
(
hide
)
Description:
Bug 24289: DBIC changes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-01-20 07:06:23 UTC
Size:
1.85 KB
patch
obsolete
>From f3c4c309aeb06dbaadc2f717a7d5d2f05929eeb8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 26 Dec 2019 11:53:57 +0100 >Subject: [PATCH] Bug 24289: DBIC changes > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/Schema/Result/Branch.pm | 34 ++++++++++++++++++++++++++++++++-- > 1 file changed, 32 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index 73b50e581b..6680195079 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -631,6 +631,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 repeatable_holidays >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::RepeatableHoliday> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "repeatable_holidays", >+ "Koha::Schema::Result::RepeatableHoliday", >+ { "foreign.branchcode" => "self.branchcode" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 reserves > > Type: has_many >@@ -646,6 +661,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 special_holidays >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::SpecialHoliday> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "special_holidays", >+ "Koha::Schema::Result::SpecialHoliday", >+ { "foreign.branchcode" => "self.branchcode" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 stockrotationstages > > Type: has_many >@@ -707,8 +737,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-14 09:59:52 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vWDJAm3K2jiyRS3htyip6A >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-26 10:51:35 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vxx2lpU/W6cC5muhVAO1jw > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 } >-- >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 24289
:
96630
|
96631
|
96632
|
97410
|
97411
|
97412
|
97600
| 97601 |
97602