Bugzilla – Attachment 126843 Details for
Bug 29318
OverDrive search page should not require edit_borrowers permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29318: Tidy the code
Bug-29318-Tidy-the-code.patch (text/plain), 1.42 KB, created by
Owen Leonard
on 2021-10-25 19:05:57 UTC
(
hide
)
Description:
Bug 29318: Tidy the code
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-10-25 19:05:57 UTC
Size:
1.42 KB
patch
obsolete
>From 0d903117dc4e8712725f45c7e9de20469e689b1a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 25 Oct 2021 18:50:17 +0000 >Subject: [PATCH] Bug 29318: Tidy the code > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > opac/opac-overdrive-search.pl | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/opac/opac-overdrive-search.pl b/opac/opac-overdrive-search.pl >index 0fbb7b22d3..923df46e98 100755 >--- a/opac/opac-overdrive-search.pl >+++ b/opac/opac-overdrive-search.pl >@@ -28,12 +28,14 @@ use C4::Output qw( output_html_with_http_headers ); > my $cgi = CGI->new; > > # Getting the template and auth >-my ($template, $loggedinuser, $cookie) >-= get_template_and_user({template_name => "opac-overdrive-search.tt", >- query => $cgi, >- type => "opac", >- authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), >- }); >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "opac-overdrive-search.tt", >+ query => $cgi, >+ type => "opac", >+ authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), >+ } >+); > > $template->{'VARS'}->{'q'} = $cgi->param('q'); > $template->{'VARS'}->{'limit'} = C4::Context->preference('OPACnumSearchResults') || 20; >-- >2.20.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 29318
:
126840
|
126841
|
126842
|
126843
|
126849
|
126850