Browse files

Merge pull request #1541 from tholoksh/gridsort

Update to libraries/html/grid.php. Fixes grid.sort for components that use query strings in their URIs.
  • Loading branch information...
2 parents b3cc2f5 + 92cc33a commit aed408f6c43c631ab50f8052edec244402e923e4 @pasamio pasamio committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/html/grid.php
View
2 libraries/joomla/html/grid.php
@@ -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);

0 comments on commit aed408f

Please sign in to comment.