Bugzilla – Attachment 148305 Details for
Bug 32437
When adding to a basket form a staged file and matching the imported records are ignored when set to overwrite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32437: DO NOT PUSH - Schema Updates
Bug-32437-DO-NOT-PUSH---Schema-Updates.patch (text/plain), 2.42 KB, created by
Marcel de Rooy
on 2023-03-17 08:28:55 UTC
(
hide
)
Description:
Bug 32437: DO NOT PUSH - Schema Updates
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-03-17 08:28:55 UTC
Size:
2.42 KB
patch
obsolete
>From 5bda5b1c489989f8b3ae52c3ad4740b568e27a95 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 16 Mar 2023 15:16:19 +0000 >Subject: [PATCH] Bug 32437: DO NOT PUSH - Schema Updates >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Schema/Result/ImportAuth.pm | 16 ++++++++++++++-- > Koha/Schema/Result/ImportRecord.pm | 12 ++++++------ > 2 files changed, 20 insertions(+), 8 deletions(-) > >diff --git a/Koha/Schema/Result/ImportAuth.pm b/Koha/Schema/Result/ImportAuth.pm >index a8fc448da1..f026cde71c 100644 >--- a/Koha/Schema/Result/ImportAuth.pm >+++ b/Koha/Schema/Result/ImportAuth.pm >@@ -67,6 +67,18 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 25 }, > ); > >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</import_record_id> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("import_record_id"); >+ > =head1 RELATIONS > > =head2 import_record >@@ -85,8 +97,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bm1ctlmYDh4qWUU95SLqBw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-16 15:15:01 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kRerhybJQOzKfdFjkozK4Q > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/ImportRecord.pm b/Koha/Schema/Result/ImportRecord.pm >index 64e9274e07..d67160adf3 100644 >--- a/Koha/Schema/Result/ImportRecord.pm >+++ b/Koha/Schema/Result/ImportRecord.pm >@@ -186,16 +186,16 @@ __PACKAGE__->set_primary_key("import_record_id"); > > =head1 RELATIONS > >-=head2 import_auths >+=head2 import_auth > >-Type: has_many >+Type: might_have > > Related object: L<Koha::Schema::Result::ImportAuth> > > =cut > >-__PACKAGE__->has_many( >- "import_auths", >+__PACKAGE__->might_have( >+ "import_auth", > "Koha::Schema::Result::ImportAuth", > { "foreign.import_record_id" => "self.import_record_id" }, > { cascade_copy => 0, cascade_delete => 0 }, >@@ -262,8 +262,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-17 11:17:50 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bGhtHdQ7/pXWWezcgz/4EA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-16 15:15:01 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CAOcvre3AiNqGbeblkzQpw > > sub koha_object_class { > 'Koha::Import::Record'; >-- >2.30.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 32437
:
144538
|
144539
|
144540
|
144541
|
144573
|
144574
|
144575
|
144576
|
145223
|
145224
|
145225
|
145226
|
147677
|
147678
|
147679
|
147680
|
147681
|
148270
|
148271
|
148272
|
148273
|
148274
|
148275
|
148276
|
148277
|
148300
|
148301
|
148302
|
148303
|
148304
| 148305 |
148306