Bugzilla – Attachment 120996 Details for
Bug 22785
Manage matches when importing through stage MARC record import
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22785: DO NOT PUSH Schema updates
Bug-22785-DO-NOT-PUSH-Schema-updates.patch (text/plain), 1.66 KB, created by
Nick Clemens (kidclamp)
on 2021-05-14 17:52:14 UTC
(
hide
)
Description:
Bug 22785: DO NOT PUSH Schema updates
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-05-14 17:52:14 UTC
Size:
1.66 KB
patch
obsolete
>From f1243de69b20afd7a561d777bec82f9cde8e087e Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 14 May 2021 17:50:42 +0000 >Subject: [PATCH] Bug 22785: DO NOT PUSH Schema updates > >--- > Koha/Schema/Result/ImportRecordMatch.pm | 27 +++++++++++++++++++++++++-- > 1 file changed, 25 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/ImportRecordMatch.pm b/Koha/Schema/Result/ImportRecordMatch.pm >index ae09a53e7f..1ce9d88ec7 100644 >--- a/Koha/Schema/Result/ImportRecordMatch.pm >+++ b/Koha/Schema/Result/ImportRecordMatch.pm >@@ -46,6 +46,13 @@ the biblio the imported record matches (biblio.biblionumber) > > the match score > >+=head2 chosen >+ >+ data_type: 'tinyint' >+ is_nullable: 1 >+ >+whether this match has been allowed or denied >+ > =cut > > __PACKAGE__->add_columns( >@@ -55,8 +62,24 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 0 }, > "score", > { data_type => "integer", default_value => 0, is_nullable => 0 }, >+ "chosen", >+ { data_type => "tinyint", is_nullable => 1 }, > ); > >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</import_record_id> >+ >+=item * L</candidate_match_id> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("import_record_id", "candidate_match_id"); >+ > =head1 RELATIONS > > =head2 import_record >@@ -75,8 +98,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kWU/SGWvZBBvVwEvDysrtA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-14 17:49:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e+g5nzHamX5ktnmMV6/KvQ > > sub koha_object_class { > 'Koha::Import::Record::Match'; >-- >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 22785
:
114813
|
114814
|
114815
|
114816
|
120995
|
120996
|
120997
|
121149
|
121167
|
121168
|
121169
|
121170
|
121171
|
121172
|
121173
|
121174
|
121204
|
121205
|
121206
|
121207
|
126369
|
126370
|
126371
|
126372
|
126522
|
126523
|
126524
|
126525
|
126531
|
126532
|
126533
|
126534
|
126535
|
126536
|
126537
|
126538
|
128820
|
128821
|
128822
|
128823
|
128824
|
130726
|
130727
|
130728
|
130729
|
130730
|
131143
|
131144
|
131145
|
131146
|
131147
|
133947
|
133948
|
133949
|
133950
|
133951
|
134127
|
134128
|
134129
|
134130
|
134131
|
134132
|
134219
|
134368
|
134369
|
134370
|
134371
|
134372
|
134373
|
134374
|
134575
|
134608