View | Details | Raw Unified | Return to bug 5087
Collapse All | Expand All

(-)a/opac/opac-downloadshelf.pl (-2 / +11 lines)
Lines 140-146 if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) { Link Here
140
        } else {
140
        } else {
141
            $template->param(fullpage => 1);
141
            $template->param(fullpage => 1);
142
        }
142
        }
143
        $template->param(csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records' }) ]);
143
        $template->param(
144
            csv_profiles => [
145
                Koha::CsvProfiles->search(
146
                    {
147
                        type       => 'marc',
148
                        used_for   => 'export_records',
149
                        staff_only => 0
150
                    }
151
                )
152
            ]
153
        );
144
        $template->param( shelf => $shelf );
154
        $template->param( shelf => $shelf );
145
        output_html_with_http_headers $query, $cookie, $template->output;
155
        output_html_with_http_headers $query, $cookie, $template->output;
146
    }
156
    }
147
- 

Return to bug 5087