Skip to content
Permalink
Browse files

[attributetable] add quotes to column name when sorting (fixes #14873)

  • Loading branch information
nirvn committed Jun 2, 2016
1 parent 97c4bd7 commit 38e9435df46389e986198f2a0db318b42fd3ee05
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -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() ) );
}
}

0 comments on commit 38e9435

Please sign in to comment.
You can’t perform that action at this time.