From 22684e9ec709bbe0df722fd6452f939f576f8563 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Tue, 8 Jul 2008 00:18:40 -0500 Subject: [PATCH] Fix for 2160: My Lists Tab on OPAC Profile --- koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc | 4 ++++ opac/opac-shelves.pl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5