From: Joshua Ferraro Date: Tue, 8 Jul 2008 05:18:40 +0000 (-0500) Subject: Fix for 2160: My Lists Tab on OPAC Profile X-Git-Tag: ffzg~209 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=22684e9ec709bbe0df722fd6452f939f576f8563;p=koha.git Fix for 2160: My Lists Tab on OPAC Profile --- diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc b/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc index 17dda147fa..2efc1da3d8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc @@ -21,6 +21,10 @@
  • my messaging
  • + +
  • my lists
  • + + diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 61bf9e3f9b..dbd598c92e 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -31,7 +31,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ type => "opac", authnotrequired => 1, }); - +$template->param(listsview => 1); # if $loggedinuser is not defined, set it to -1, which should # not correspond to any real borrowernumber. # FIXME: this is a hack to temporarily avoid changing several