copy CS sorting fix from branch

This commit is contained in:
Graham Knop 2007-11-07 17:36:30 +00:00
parent 227c2d90ec
commit 70c557aa10

View file

@ -961,7 +961,7 @@ sub getThreadsPaginator {
if ($sortBy eq 'rating') {
$sortBy = 'threadRating';
}
#$sortBy = $self->session->db->dbh->quote_identifier($sortBy);
$sortBy = join('.', map { $self->session->db->dbh->quote_identifier($_) } split(/\./, $sortBy));
my $sql = "
select
asset.assetId,