From 02154a537e49d0ad56998b19b4a563b162977454 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 14 Dec 2010 21:34:25 +0100 Subject: [PATCH] Bug 5751 : MT2690 fix members-home This fix the members-home script to work with new letter search management, and delete not anymore used code/template (written by Nahuel Angelinetti) Signed-off-by: Henri-Damien LAURENT (cherry picked from commit 3be7a6d4588ef4b406eb324e14966a4ac66c708d) Signed-off-by: Chris Nighswonger --- members/members-home.pl | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/members/members-home.pl b/members/members-home.pl index db8be4a01e..482970c106 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -29,20 +29,9 @@ use C4::Category; my $query = new CGI; my $quicksearch = $query->param('quicksearch'); my $branch = $query->param('branchcode'); -my ($template, $loggedinuser, $cookie); my $template_name; -if($quicksearch){ -($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "members/member-quicksearch.tmpl", - query => $query, - type => "intranet", - authnotrequired => 0, - flagsrequired => {borrowers => 1}, - debug => 1, - }); -} else { -($template, $loggedinuser, $cookie) +my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "members/member.tmpl", query => $query, type => "intranet", @@ -83,7 +72,6 @@ if($no_categories && C4::Context->preference("AddPatronLists")=~/code/){ $template->param(categories=>\@categories); } - $template->param( "AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1", no_add => $no_add, -- 2.39.5