mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge pull request #3165 from nirvn/fix_attributetable_sort
[attributetable] add quotes to column name when sorting (fixes #14873)
This commit is contained in:
commit
1b905c814d
@ -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() ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user