Bugzilla – Attachment 152957 Details for
Bug 30708
Creation of a new 'Preservation' module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30708: DBIC specific
Bug-30708-DBIC-specific.patch (text/plain), 3.34 KB, created by
Jonathan Druart
on 2023-07-03 13:29:59 UTC
(
hide
)
Description:
Bug 30708: DBIC specific
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-07-03 13:29:59 UTC
Size:
3.34 KB
patch
obsolete
>From 63a5915c69bd719ebf3fc625ed8906df773308b7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Feb 2023 14:36:56 +0100 >Subject: [PATCH] Bug 30708: DBIC specific > >Sponsored-by: BULAC - http://www.bulac.fr/ >Signed-off-by: BULAC - http://www.bulac.fr/ >--- > Koha/Schema/Result/PreservationProcessing.pm | 7 ++++++- > Koha/Schema/Result/PreservationProcessingAttributesItem.pm | 7 ++++++- > Koha/Schema/Result/PreservationTrain.pm | 7 ++++++- > Koha/Schema/Result/PreservationTrainsItem.pm | 7 ++++++- > 4 files changed, 24 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/PreservationProcessing.pm b/Koha/Schema/Result/PreservationProcessing.pm >index 77002f7e76e..4ec54b8954f 100644 >--- a/Koha/Schema/Result/PreservationProcessing.pm >+++ b/Koha/Schema/Result/PreservationProcessing.pm >@@ -111,6 +111,11 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m7bHppTX3UpQY9CfmRPqQA > >+sub koha_object_class { >+ 'Koha::Preservation::Processing'; >+} >+sub koha_objects_class { >+ 'Koha::Preservation::Processings'; >+} > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/PreservationProcessingAttributesItem.pm b/Koha/Schema/Result/PreservationProcessingAttributesItem.pm >index 0ff4dae60c1..fd566f32780 100644 >--- a/Koha/Schema/Result/PreservationProcessingAttributesItem.pm >+++ b/Koha/Schema/Result/PreservationProcessingAttributesItem.pm >@@ -108,6 +108,11 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CiFAelBwfhQzRX1cL0ssqA > >+sub koha_object_class { >+ 'Koha::Preservation::Train::Item::Attribute'; >+} >+sub koha_objects_class { >+ 'Koha::Preservation::Train::Item::Attributes'; >+} > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/PreservationTrain.pm b/Koha/Schema/Result/PreservationTrain.pm >index 9b51ee9f771..007680e0184 100644 >--- a/Koha/Schema/Result/PreservationTrain.pm >+++ b/Koha/Schema/Result/PreservationTrain.pm >@@ -190,6 +190,11 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ojxQ0wFj2datCPVjeuTBWw > >+sub koha_object_class { >+ 'Koha::Preservation::Train'; >+} >+sub koha_objects_class { >+ 'Koha::Preservation::Trains'; >+} > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/PreservationTrainsItem.pm b/Koha/Schema/Result/PreservationTrainsItem.pm >index 78d197ec27d..1c7550afba6 100644 >--- a/Koha/Schema/Result/PreservationTrainsItem.pm >+++ b/Koha/Schema/Result/PreservationTrainsItem.pm >@@ -190,6 +190,11 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lpvjaV+qXrIDVlimBaycgA > >+sub koha_object_class { >+ 'Koha::Preservation::Train::Item'; >+} >+sub koha_objects_class { >+ 'Koha::Preservation::Train::Items'; >+} > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >-- >2.25.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 30708
:
134715
|
134716
|
134732
|
134733
|
134734
|
134736
|
134737
|
134738
|
134782
|
134783
|
134784
|
134785
|
152939
|
152940
|
152941
|
152942
|
152943
|
152944
|
152945
|
152946
|
152947
|
152948
|
152949
|
152950
|
152951
|
152952
|
152953
|
152954
|
152955
|
152956
|
152957
|
152958
|
152959
|
152960
|
152961
|
152962
|
152963
|
152964
|
152965
|
152966
|
152967
|
152968
|
152969
|
152970
|
153102
|
153576
|
154167
|
154168
|
154169
|
154170
|
154171
|
154172
|
154173
|
154174
|
154175
|
154176
|
154177
|
154178
|
154179
|
154180
|
154181
|
154182
|
154183
|
154184
|
154185
|
154186
|
154187
|
154188
|
154189
|
154190
|
154191
|
154192
|
154193
|
154194
|
154195
|
154196
|
154197
|
154198
|
154199
|
154200
|
154201
|
154202
|
154203
|
156592
|
156596
|
156597
|
156636
|
156637
|
156638
|
156639
|
156640
|
156641
|
156642
|
156643
|
156644
|
156645
|
156646
|
156647
|
156648
|
156649
|
156650
|
156651
|
156652
|
156653
|
156654
|
156655
|
156656
|
156657
|
156658
|
156659
|
156660
|
156661
|
156662
|
156663
|
156664
|
156665
|
156666
|
156667
|
156668
|
156669
|
156670
|
156671
|
156672
|
156673
|
156674
|
156675
|
157502
|
157503
|
157506
|
157508
|
157512
|
157514
|
157557