Bugzilla – Attachment 119717 Details for
Bug 27981
Add option to automatically set the 001 control number to the biblionumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27981: (follow-up) Set pref off for existing tests
Bug-27981-follow-up-Set-pref-off-for-existing-test.patch (text/plain), 1.63 KB, created by
Frank Hansen
on 2021-04-16 12:05:53 UTC
(
hide
)
Description:
Bug 27981: (follow-up) Set pref off for existing tests
Filename:
MIME Type:
Creator:
Frank Hansen
Created:
2021-04-16 12:05:53 UTC
Size:
1.63 KB
patch
obsolete
>From 9d11669f836ab164fd5b01f276cb7ff0e35b435c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 19 Mar 2021 11:29:50 +0000 >Subject: [PATCH] Bug 27981: (follow-up) Set pref off for existing tests > >The patches applies now. I have tested it and can confirm that it works >as intended. > >Signed-off-by: Frank Hansen <frank.hansen@ub.lu.se> >--- > members/memberentry.pl | 2 ++ > t/db_dependent/Biblio.t | 1 + > 2 files changed, 3 insertions(+) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 6aad0c0dc4..96bfbc760b 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -109,7 +109,9 @@ $template->param( relationships => scalar $patron->guarantor_relationships ) if > > my @relations = split /\|/, C4::Context->preference('borrowerRelationship'), -1; > @relations = ('') unless @relations; >+warn Data::Dumper::Dumper( \@relations ); > my $empty_relationship_allowed = grep {$_ eq ""} @relations; >+warn $empty_relationship_allowed; > $template->param( empty_relationship_allowed => $empty_relationship_allowed ); > > my $guarantor_id = $input->param('guarantor_id'); >diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t >index 1ee4381ff7..599e27e311 100755 >--- a/t/db_dependent/Biblio.t >+++ b/t/db_dependent/Biblio.t >@@ -233,6 +233,7 @@ sub run_tests { > # Authority tests don't interact well with Elasticsearch at the moment due to the fact that there's currently no way to > # roll back ES index changes. > t::lib::Mocks::mock_preference('SearchEngine', 'Zebra'); >+ t::lib::Mocks::mock_preference('autoControlNumber', 'OFF'); > > my $isbn = '0590353403'; > my $title = 'Foundation'; >-- >2.20.1
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 27981
:
118461
|
118513
|
119704
|
119705
|
119717
|
121805
|
122280
|
122301
|
122344
|
122356
|
122672
|
122674
|
122675
|
124279
|
124280
|
124281
|
128223
|
128224
|
128225
|
132034
|
132035
|
132036
|
134536
|
134537
|
134538
|
134539
|
136022
|
140092
|
140093
|
140094
|
140095
|
140096
|
140097
|
140502