Bugzilla – Attachment 107169 Details for
Bug 5087
Option to not show CSV profiles in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5087: (QA follow-up) Fix leakage in opac-downloadshelf.pl
Bug-5087-QA-follow-up-Fix-leakage-in-opac-download.patch (text/plain), 1.29 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-07-21 17:17:28 UTC
(
hide
)
Description:
Bug 5087: (QA follow-up) Fix leakage in opac-downloadshelf.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-07-21 17:17:28 UTC
Size:
1.29 KB
patch
obsolete
>From 94b7ee65c08262d150c06287fa5360fe24d1df03 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 20 Jul 2020 12:02:14 -0300 >Subject: [PATCH] Bug 5087: (QA follow-up) Fix leakage in opac-downloadshelf.pl > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > opac/opac-downloadshelf.pl | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/opac/opac-downloadshelf.pl b/opac/opac-downloadshelf.pl >index ac6e910ebd..f317f3ca3d 100755 >--- a/opac/opac-downloadshelf.pl >+++ b/opac/opac-downloadshelf.pl >@@ -140,7 +140,17 @@ if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) { > } else { > $template->param(fullpage => 1); > } >- $template->param(csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records' }) ]); >+ $template->param( >+ csv_profiles => [ >+ Koha::CsvProfiles->search( >+ { >+ type => 'marc', >+ used_for => 'export_records', >+ staff_only => 0 >+ } >+ ) >+ ] >+ ); > $template->param( shelf => $shelf ); > output_html_with_http_headers $query, $cookie, $template->output; > } >-- >2.27.0
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 5087
:
2450
|
83438
|
83664
|
98779
|
103437
|
103506
|
103955
|
107111
|
107112
|
107113
|
107114
|
107166
|
107167
|
107168
| 107169 |
107224