There was an error while loading. Please reload this page.
2 parents 732b1cb + 38e9435 commit 1b905c8Copy full SHA for 1b905c8
1 file changed
src/gui/attributetable/qgsattributetablemodel.cpp
@@ -744,7 +744,7 @@ void QgsAttributeTableModel::prefetchColumnData( int column )
744
}
745
else
746
{
747
- prefetchSortData( mLayerCache->layer()->fields().at( mAttributes.at( column ) ).name() );
+ prefetchSortData( QgsExpression::quotedColumnRef( mLayerCache->layer()->fields().at( mAttributes.at( column ) ).name() ) );
748
749
750
0 commit comments