Bugzilla – Attachment 177377 Details for
Bug 39003
Cannot see suspend column in user's hold table on OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39003: Fix the tab template variable in opac-user.pl
Bug-39003-Fix-the-tab-template-variable-in-opac-us.patch (text/plain), 1.43 KB, created by
Marcel de Rooy
on 2025-01-31 10:06:11 UTC
(
hide
)
Description:
Bug 39003: Fix the tab template variable in opac-user.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-01-31 10:06:11 UTC
Size:
1.43 KB
patch
obsolete
>From 431b0bad9055f3b91395b057c8deb38f3416209b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 30 Jan 2025 20:56:25 +0000 >Subject: [PATCH] Bug 39003: Fix the tab template variable in opac-user.pl >Content-Type: text/plain; charset=utf-8 > >To test: >1. SuspendHoldsOpac to 'allow' >2. Make some holds for a patron >3. Log in as that patron and go to 'Summary' >4. Click the 'Holds' tab >5. No suspend column >6. APPLY PATCH, restart_all >7. Try again, the column should show. >8. Turn off SuspendHoldsOpac, the column should be hidden. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > opac/opac-user.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 3f1ca4ad59..bd1137c5ac 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -411,7 +411,7 @@ $template->param( > patronupdate => $patronupdate, > OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), > userview => 1, >- tab => $query->param('tab'), >+ tab => scalar $query->param('tab') || 0, > SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), > AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), > OpacHoldNotes => C4::Context->preference('OpacHoldNotes'), >-- >2.39.5
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 39003
:
177357
|
177359
|
177366
|
177367
| 177377