We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 12f0947 commit aa43c92Copy full SHA for aa43c92
src/core/composer/qgsatlascomposition.cpp
@@ -227,7 +227,7 @@ void QgsAtlasComposition::prepareForFeature( size_t featureI )
227
if ( !mSingleFile && mFilenamePattern.size() > 0 )
228
{
229
QgsExpression::setSpecialColumn( "$feature", QVariant(( int )featureI + 1 ) );
230
- QVariant filenameRes = mFilenameExpr->evaluate( &mCurrentFeature );
+ QVariant filenameRes = mFilenameExpr->evaluate( &mCurrentFeature, mCoverageLayer->pendingFields() );
231
if ( mFilenameExpr->hasEvalError() )
232
233
throw std::runtime_error( tr( "Filename eval error: %1" ).arg( mFilenameExpr->evalErrorString() ).toLocal8Bit().data() );
0 commit comments