Bugzilla – Attachment 140699 Details for
Bug 31239
search_for_data_inconsistencies.pl fails for Koha to MARC mapping using biblio table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31239: (QA follow-up) Fixing ternary formatting
Bug-31239-QA-follow-up-Fixing-ternary-formatting.patch (text/plain), 1.51 KB, created by
Marcel de Rooy
on 2022-09-16 09:42:57 UTC
(
hide
)
Description:
Bug 31239: (QA follow-up) Fixing ternary formatting
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-09-16 09:42:57 UTC
Size:
1.51 KB
patch
obsolete
>From 91dc519f111a15ee82381bfc64e93bbeff24a06d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 16 Sep 2022 09:41:59 +0000 >Subject: [PATCH] Bug 31239: (QA follow-up) Fixing ternary formatting >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/maintenance/search_for_data_inconsistencies.pl | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/misc/maintenance/search_for_data_inconsistencies.pl b/misc/maintenance/search_for_data_inconsistencies.pl >index a948b902a9..0ccdd8b1bb 100755 >--- a/misc/maintenance/search_for_data_inconsistencies.pl >+++ b/misc/maintenance/search_for_data_inconsistencies.pl >@@ -243,10 +243,11 @@ use C4::Biblio qw( GetMarcFromKohaField ); > my $kohafield = $v->{kohafield}; > my ( $table, $column ) = split '\.', $kohafield; > while ( my $i = $items->next ) { >- my $value = >- $table eq 'items' ? $i->$column >- : $table eq 'biblio' ? $i->biblio->$column >- : $i->biblioitem->$column; >+ my $value = $table eq 'items' >+ ? $i->$column >+ : $table eq 'biblio' >+ ? $i->biblio->$column >+ : $i->biblioitem->$column; > $output .= " {" . $i->itemnumber . " => " . $value . "}"; > } > new_item( >-- >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 31239
:
138963
|
140413
|
140698
| 140699