Skip to content

Commit

Permalink
Indicate that these have been truncated
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed May 13, 2015
1 parent 6fc418e commit ad32e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libraries/DisplayResults.class.php
Expand Up @@ -835,7 +835,7 @@ private function _getTableNavigation(
list(
$table_navigation_html,
$nbTotalPage
) = $this->_getHtmlPageSelector($table_navigation_html);
) = $this->_getHtmlPageSelector($table_navigation_html);
}

$showing_all = false;
Expand Down Expand Up @@ -4600,7 +4600,7 @@ private function _getSortedColumnMessage(
$column_for_first_row = /*overload*/mb_strtoupper(
/*overload*/mb_substr(
$column_for_first_row, 0, $GLOBALS['cfg']['LimitChars']
)
) . '...'
);

// fetch last row of the result set
Expand All @@ -4626,7 +4626,7 @@ private function _getSortedColumnMessage(
$column_for_last_row = /*overload*/mb_strtoupper(
/*overload*/mb_substr(
$column_for_last_row, 0, $GLOBALS['cfg']['LimitChars']
)
) . '...'
);

// reset to first row for the loop in _getTableBody()
Expand Down
2 changes: 1 addition & 1 deletion libraries/Util.class.php
Expand Up @@ -3138,7 +3138,7 @@ public static function extractColumnSpec($columnspec)
$displayed_type .= htmlspecialchars(
/*overload*/mb_substr(
$printtype, 0, $GLOBALS['cfg']['LimitChars']
)
) . '...'
);
$displayed_type .= '</abbr>';
}
Expand Down

0 comments on commit ad32e09

Please sign in to comment.