Navigation Menu

Skip to content

Commit

Permalink
[attributetable] add quotes to column name when sorting (fixes #14873)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jun 2, 2016
1 parent 97c4bd7 commit 38e9435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetablemodel.cpp
Expand Up @@ -744,7 +744,7 @@ void QgsAttributeTableModel::prefetchColumnData( int column )
}
else
{
prefetchSortData( mLayerCache->layer()->fields().at( mAttributes.at( column ) ).name() );
prefetchSortData( QgsExpression::quotedColumnRef( mLayerCache->layer()->fields().at( mAttributes.at( column ) ).name() ) );
}
}

Expand Down

0 comments on commit 38e9435

Please sign in to comment.