|
Lines 56-61
if ( $op eq "do_search" ) {
Link Here
|
| 56 |
my $orderby = $query->param('orderby'); |
56 |
my $orderby = $query->param('orderby'); |
| 57 |
my @value = $query->multi_param('value'); |
57 |
my @value = $query->multi_param('value'); |
| 58 |
$value[0] ||= q||; |
58 |
$value[0] ||= q||; |
|
|
59 |
my $value_history = $value[0]; |
| 59 |
|
60 |
|
| 60 |
# validation of "Where" |
61 |
# validation of "Where" |
| 61 |
my @valid_marc_list = qw( all match mainentry ); |
62 |
my @valid_marc_list = qw( all match mainentry ); |
|
Lines 81-87
if ( $op eq "do_search" ) {
Link Here
|
| 81 |
$template->param( search_query => $search_query ) if C4::Context->preference('DumpSearchQueryTemplate'); |
82 |
$template->param( search_query => $search_query ) if C4::Context->preference('DumpSearchQueryTemplate'); |
| 82 |
|
83 |
|
| 83 |
# multi page display gestion |
84 |
# multi page display gestion |
| 84 |
my $value_url = uri_escape_utf8( $value[0] ); |
85 |
my $value_url = uri_escape_utf8($value_history); |
| 85 |
my $base_url = |
86 |
my $base_url = |
| 86 |
"opac-authorities-home.pl?" |
87 |
"opac-authorities-home.pl?" |
| 87 |
. "marclist=$marclist[0]" |
88 |
. "marclist=$marclist[0]" |
|
Lines 159-165
if ( $op eq "do_search" ) {
Link Here
|
| 159 |
my $new_search = C4::Search::History::add_to_session( |
160 |
my $new_search = C4::Search::History::add_to_session( |
| 160 |
{ |
161 |
{ |
| 161 |
cgi => $query, |
162 |
cgi => $query, |
| 162 |
query_desc => $value[0], |
163 |
query_desc => $value_history, |
| 163 |
query_cgi => $query_cgi_history, |
164 |
query_cgi => $query_cgi_history, |
| 164 |
total => $total, |
165 |
total => $total, |
| 165 |
type => "authority", |
166 |
type => "authority", |
|
Lines 172-178
if ( $op eq "do_search" ) {
Link Here
|
| 172 |
{ |
173 |
{ |
| 173 |
userid => $loggedinuser, |
174 |
userid => $loggedinuser, |
| 174 |
sessionid => $query->cookie("CGISESSID"), |
175 |
sessionid => $query->cookie("CGISESSID"), |
| 175 |
query_desc => $value[0], |
176 |
query_desc => $value_history, |
| 176 |
query_cgi => $query_cgi_history, |
177 |
query_cgi => $query_cgi_history, |
| 177 |
total => $total, |
178 |
total => $total, |
| 178 |
type => "authority", |
179 |
type => "authority", |
| 179 |
- |
|
|