From cd5ddf30994dcfb2f663552703b2b65f88e129b8 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 28 Apr 2015 11:44:10 -0400 Subject: [PATCH] More specific URL (in case Holdings is not default tab). --- themes/bootstrap3/templates/RecordTab/holdingsils.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/templates/RecordTab/holdingsils.phtml b/themes/bootstrap3/templates/RecordTab/holdingsils.phtml index f1eb3c56603..5cc87b375ce 100644 --- a/themes/bootstrap3/templates/RecordTab/holdingsils.phtml +++ b/themes/bootstrap3/templates/RecordTab/holdingsils.phtml @@ -24,11 +24,11 @@ <? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?> <? if (!$user): ?> <div class="alert alert-info"> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>?login=true&catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?> + <a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&catalogLogin=true"><?=$this->transEsc("Login")?></a> <?=$this->transEsc("hold_login")?> </div> <? elseif (!$user->cat_username): ?> <div class="alert alert-info"> - <?=$this->translate("hold_profile_html", array('%%url%%' => $this->recordLink()->getUrl($this->driver) . '?catalogLogin=true'))?> + <?=$this->translate("hold_profile_html", array('%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'))?> </div> <? endif; ?> <? endif; ?> -- GitLab