Bugzilla – Attachment 189146 Details for
Bug 39860
Add a way to allow for additional/custom MARC fields in the record display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39860: Fix selenium/opac_holds.t
Bug-39860-Fix-seleniumopacholdst.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2025-11-06 08:34:47 UTC
(
hide
)
Description:
Bug 39860: Fix selenium/opac_holds.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-11-06 08:34:47 UTC
Size:
1.20 KB
patch
obsolete
>From 86456aadaa004f86bcc6d84dfc8ad9d35ed519d9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 6 Nov 2025 09:33:48 +0100 >Subject: [PATCH] Bug 39860: Fix selenium/opac_holds.t > > # Failed test 'Correctly in search results page' > # at t/db_dependent/selenium/opac_holds.t line 88. > # 'Error: Can't use an undefined value as a HASH reference at /kohadevbox/koha/C4/XSLT.pm line 247' > # doesn't match '(?^u:Results of search for 'opac holds test place hold button')' > >might be a conflict with bug 40943 >--- > C4/XSLT.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 467bbd1ada3..a2d212fe138 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -244,8 +244,9 @@ sub XSLTParse4Display { > } > my $extracontent = ''; > my $location; >- my $branch = C4::Context->userenv->{branch} || ''; >- my $lang = C4::Languages::getlanguage; >+ my $branch = C4::Context->userenv && C4::Context->userenv->{branch}; >+ $branch //= ''; >+ my $lang = C4::Languages::getlanguage; > > if ( $xslsyspref eq "XSLTDetailsDisplay" ) { > $location = 'StaffDetailPage'; >-- >2.34.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 39860
:
182054
|
182055
|
182056
|
182057
|
182058
|
182059
|
182230
|
182231
|
182232
|
182233
|
183007
|
183008
|
183009
|
183010
|
183011
|
183035
|
183077
|
183095
|
183774
|
185835
|
185865
|
185866
|
185867
|
185868
|
185869
|
185870
|
185900
|
185901
|
185902
|
185903
|
185904
|
185905
|
187898
|
188724
|
188725
|
188726
|
188727
|
188728
|
188729
|
188730
|
188731
| 189146