Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 1b905c8
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 1b905c8

Please sign in to comment.