Bugzilla – Attachment 63387 Details for
Bug 18204
Authority searches are not saved in Search history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18204 - Authority searches are not saved in Search history
Bug-18204---Authority-searches-are-not-saved-in-Se.patch (text/plain), 1.16 KB, created by
leire
on 2017-05-11 15:17:10 UTC
(
hide
)
Description:
Bug 18204 - Authority searches are not saved in Search history
Filename:
MIME Type:
Creator:
leire
Created:
2017-05-11 15:17:10 UTC
Size:
1.16 KB
patch
obsolete
>From 5a36935a2ef6b386cbeea6f5fffdd2dcc01f9b52 Mon Sep 17 00:00:00 2001 >From: LeireDiez <leire@scanbit.net> >Date: Thu, 11 May 2017 17:09:22 +0200 >Subject: [PATCH] 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" >--- > opac/opac-authorities-home.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl >index d92166b..4dcb33c 100755 >--- a/opac/opac-authorities-home.pl >+++ b/opac/opac-authorities-home.pl >@@ -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\?//; >-- >2.1.4
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 18204
:
60809
|
63387
|
63398
|
63424