[Koha-bugs] [Bug 10807] OPAC: There is no authority search history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 21 20:46:47 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10807

--- Comment #52 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Comment on attachment 24221
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24221
Bug 10807: Add an authority search history for the OPAC

Review of attachment 24221:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10807&attachment=24221)
-----------------------------------------------------------------

::: C4/Auth.pm
@@ +251,5 @@
>  
>              # If at least one search has already been performed
>              if ($sth->fetchrow_array > 0) {
> +                # We show the link in opac
> +                $template->param( EnableOpacSearchHistory => 1 );

I am not sure renaming the variable was necessary. 
Now it shows up in the templates like the system preference, although there is
another condition that it takes into account. Also tempting to replace it with
the TT plugin accidentally.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list