Bugzilla – Attachment 151863 Details for
Bug 33497
Reduce DB calls on staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33497: (follow-up) Remove unecessary scalar
Bug-33497-follow-up-Remove-unecessary-scalar.patch (text/plain), 900 bytes, created by
Nick Clemens (kidclamp)
on 2023-05-31 11:33:19 UTC
(
hide
)
Description:
Bug 33497: (follow-up) Remove unecessary scalar
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-05-31 11:33:19 UTC
Size:
900 bytes
patch
obsolete
>From 4e590f3850aedacf74b16483c9ed9e52770254d3 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 31 May 2023 11:32:54 +0000 >Subject: [PATCH] Bug 33497: (follow-up) Remove unecessary scalar > >--- > catalogue/detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 31ebfc2743..6b06f286cd 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -483,7 +483,7 @@ $template->param( > materials => $materials_flag, > ); > >-if (C4::Context->preference("AlternateHoldingsField") && scalar $items->count == 0) { >+if (C4::Context->preference("AlternateHoldingsField") && $items->count == 0) { > my $fieldspec = C4::Context->preference("AlternateHoldingsField"); > my $subfields = substr $fieldspec, 3; > my $holdingsep = C4::Context->preference("AlternateHoldingsSeparator") || ' '; >-- >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 33497
:
149467
|
149468
|
149573
|
149574
|
151861
|
151862
|
151863
|
151866
|
153046
|
153047
|
153048
|
153049
|
153183