Skip to content
Snippets Groups Projects
Commit 1c92398b authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bad routing/linking configuration related to Description tab.

parent a5d601cf
No related merge requests found
......@@ -119,7 +119,7 @@ $recordRoutes = array(
);
$nonTabRecordActions = array(
'AddComment', 'DeleteComment', 'AddTag', 'Save', 'Email', 'SMS', 'Cite',
'Export', 'RDF', 'Hold', 'BlockedHold', 'Description'
'Export', 'RDF', 'Hold', 'BlockedHold'
);
// Define list-related routes -- route name => MyResearch action
......
......@@ -5,7 +5,7 @@
<? if ($summary): ?>
<p>
<?=$this->escapeHtml($this->truncate($summary, 300))?>
<a href='<?=$this->recordLink()->getActionUrl($this->driver, 'Description')?>#tabnav'><?=$this->transEsc('Full description')?></a>
<a href='<?=$this->recordLink()->getTabUrl($this->driver, 'Description')?>#tabnav'><?=$this->transEsc('Full description')?></a>
</p>
<? endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment