Skip to content
Permalink
Browse files

Merge pull request #3165 from nirvn/fix_attributetable_sort

[attributetable] add quotes to column name when sorting (fixes #14873)
  • Loading branch information
m-kuhn committed Jun 2, 2016
2 parents 732b1cb + 38e9435 commit 1b905c814d443742cf0063cd88d598053351f522
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 1b905c8

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