Bugzilla – Attachment 174578 Details for
Bug 38136
Refactor database translations (alternative)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38136: Move DBIC component to Koha::Schema namespace
Bug-38136-Move-DBIC-component-to-KohaSchema-namesp.patch (text/plain), 1.85 KB, created by
Julian Maurice
on 2024-11-15 13:26:14 UTC
(
hide
)
Description:
Bug 38136: Move DBIC component to Koha::Schema namespace
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2024-11-15 13:26:14 UTC
Size:
1.85 KB
patch
obsolete
>From 4fbbeed63ce285a5f87a8ccb3418c73ebd9da945 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 15 Nov 2024 13:24:29 +0100 >Subject: [PATCH] Bug 38136: Move DBIC component to Koha::Schema namespace > >--- > Koha/{DBIx/Class => Schema/Component}/Localization.pm | 6 +++--- > Koha/Schema/Result/Itemtype.pm | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > rename Koha/{DBIx/Class => Schema/Component}/Localization.pm (97%) > >diff --git a/Koha/DBIx/Class/Localization.pm b/Koha/Schema/Component/Localization.pm >similarity index 97% >rename from Koha/DBIx/Class/Localization.pm >rename to Koha/Schema/Component/Localization.pm >index cfc09502ae..9d1f57065e 100644 >--- a/Koha/DBIx/Class/Localization.pm >+++ b/Koha/Schema/Component/Localization.pm >@@ -1,8 +1,8 @@ >-package Koha::DBIx::Class::Localization; >+package Koha::Schema::Component::Localization; > > =head1 NAME > >-Koha::DBIx::Class::Localization >+Koha::Schema::Component::Localization > > =head1 SYNOPSIS > >@@ -10,7 +10,7 @@ Koha::DBIx::Class::Localization > > # ... generated code ... > >- __PACKAGE__->load_components('+Koha::DBIx::Class::Localization'); >+ __PACKAGE__->load_components('+Koha::Schema::Component::Localization'); > > __PACKAGE__->localization_add_relationships( > 'some_table_localizations', >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 95340ed4a2..3b4c89654a 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -360,7 +360,7 @@ __PACKAGE__->add_columns( > '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, > ); > >-__PACKAGE__->load_components('+Koha::DBIx::Class::Localization'); >+__PACKAGE__->load_components('+Koha::Schema::Component::Localization'); > __PACKAGE__->localization_add_relationships( > 'itemtypes_localizations', > 'itemtype' => 'itemtype', >-- >2.39.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 38136
:
172585
|
172804
|
173195
|
173196
|
173197
|
173198
| 174578 |
174579
|
174580
|
174581
|
174598
|
174599