Skip to content

Commit

Permalink
Merge pull request joomla#1541 from tholoksh/gridsort
Browse files Browse the repository at this point in the history
Update to libraries/html/grid.php. Fixes grid.sort for components that use query strings in their URIs.
  • Loading branch information
pasamio committed Sep 23, 2012
2 parents b3cc2f5 + 92cc33a commit aed408f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/html/grid.php
Expand Up @@ -86,7 +86,7 @@ public static function sort($title, $order, $direction = 'asc', $selected = 0, $
$direction = ($direction == 'desc') ? 'asc' : 'desc';
}

$html = '<a href="#" onclick="Joomla.tableOrdering(\'' . $order . '\',\'' . $direction . '\',\'' . $task . '\');" title="'
$html = '<a href="#" onclick="Joomla.tableOrdering(\'' . $order . '\',\'' . $direction . '\',\'' . $task . '\'); return false;" title="'
. JText::_('JGLOBAL_CLICK_TO_SORT_THIS_COLUMN') . '">';
$html .= JText::_($title);

Expand Down

0 comments on commit aed408f

Please sign in to comment.