Bugzilla – Attachment 150601 Details for
Bug 28166
Optionally add MARC fields to authority search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28166: (follow-up) Restore custom fields for biblios
Bug-28166-follow-up-Restore-custom-fields-for-bibl.patch (text/plain), 1.23 KB, created by
Nick Clemens (kidclamp)
on 2023-05-03 15:25:54 UTC
(
hide
)
Description:
Bug 28166: (follow-up) Restore custom fields for biblios
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-05-03 15:25:54 UTC
Size:
1.23 KB
patch
obsolete
>From 3d85f1804151f071a223d0057d7fd8857ce90fd1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 3 May 2023 15:23:53 +0000 >Subject: [PATCH] Bug 28166: (follow-up) Restore custom fields for biblios > >To test: >1 - Add "245$a" to AdditionalFieldsInZ3950ResultSearch preference >2 - Cataloging -> new from z3950 >3 - Search and see results have 'additional fields' including the title >4 - Apply other patches >5 - Restart all >6 - Repeat Z39 Additional fields are now blank >7 - Apply thi patch, restart all >8 - Repeat Z39 search. Additional fields are restored >--- > C4/Breeding.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index f450b023b9..b59f5b8b4d 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -314,7 +314,8 @@ sub _handle_one_result { > $row->{server} = $servhref->{servername}; > $row->{breedingid} = $breedingid; > $row->{isbn}=_isbn_replace($row->{isbn}); >- $row = _add_custom_field_rowdata($row, $marcrecord); >+ my $pref_newtags = C4::Context->preference('AdditionalFieldsInZ3950ResultSearch'); >+ $row = _add_custom_field_rowdata($row, $marcrecord, $pref_newtags); > } > return ( $row, $error ); > } >-- >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 28166
:
120139
|
120154
|
120155
|
148749
|
148755
|
148778
|
150590
|
150594
|
150595
|
150596
|
150601
|
153431
|
156166
|
156167
|
156550
|
156551
|
157646
|
157647