Skip to content
This repository has been archived by the owner on Nov 26, 2017. 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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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'; $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') . '">'; . JText::_('JGLOBAL_CLICK_TO_SORT_THIS_COLUMN') . '">';
$html .= JText::_($title); $html .= JText::_($title);


Expand Down