Bug 18204 - Authority searches are not saved in Search history
When you search an authority in Authority search, this search is not saved in Search history. EnableOpacSearchHistory is enabled Steps to test: 1- Login your account (opac) 2- Search an authority in Authority search 3- Go to Search history -> Authority 4- It says "Your authority search history is empty" Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
d046474805
commit
d4e3e6af9f
|
|
@ -124,7 +124,7 @@ if ( $op eq "do_search" ) {
|
|||
|
||||
# Opac search history
|
||||
if (C4::Context->preference('EnableOpacSearchHistory')) {
|
||||
unless ( $startfrom ) {
|
||||
if ( $startfrom == 1) {
|
||||
my $path_info = $query->url(-path_info=>1);
|
||||
my $query_cgi_history = $query->url(-query=>1);
|
||||
$query_cgi_history =~ s/^$path_info\?//;
|
||||
|
|
|
|||
Loading…
Reference in New Issue