From 0de27f53ae635a30fcd1e1d2afc4713d9d12807e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Oct 2014 09:36:53 +0200 Subject: [PATCH] Bug 13021: guarantor search - prepare existing code to be reused The add_user_search tt file will be reuse in next commits, this commit just moves it in a "common" directory. Signed-off-by: Morag Hills Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- acqui/add_user_search.pl | 2 +- .../{acqui/add_user_search.tt => common/patron_search.tt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename koha-tmpl/intranet-tmpl/prog/en/modules/{acqui/add_user_search.tt => common/patron_search.tt} (100%) diff --git a/acqui/add_user_search.pl b/acqui/add_user_search.pl index 646e2171aa..6b6d18c3c6 100755 --- a/acqui/add_user_search.pl +++ b/acqui/add_user_search.pl @@ -29,7 +29,7 @@ my $input = new CGI; my $dbh = C4::Context->dbh; my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( - { template_name => "acqui/add_user_search.tt", + { template_name => "common/patron_search.tt", query => $input, type => "intranet", authnotrequired => 0, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/add_user_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/modules/acqui/add_user_search.tt rename to koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt -- 2.39.5