This repository has been archived by the owner. It is now read-only.

Update to libraries/html/grid.php. Fixes grid.sort for components that use query strings in their URIs. #1541

Merged
merged 1 commit into from Sep 23, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -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);