Fix for 2160: My Lists Tab on OPAC Profile
This commit is contained in:
parent
886749cf31
commit
22684e9ec7
|
|
@ -21,6 +21,10 @@
|
|||
<!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
|
||||
<!-- TMPL_IF NAME="messagingview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-messaging.pl">my messaging</a></li>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="virtualshelves" -->
|
||||
<!-- TMPL_IF NAME="listsview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">my lists</a></li>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /TMPL_IF -->
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue