<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I haven't worked on an Atlas for a while, now again in QGIS 3.16.</p>
<p>I was surprised to see that @atlas_featureid is not equal to the primary key of the atlas coverage layer.</p>
<p>Is this expected or a bug? I know, I can access the primary key through attribute(@atlas_feature,'pkey_name'), but it is a little more complicated than @atlas_featureid - and I'm pretty sure that @atlas_featureid was using the pkey column in th past?</p>
<p>My data source for the atlas coverage layer is a Postgis View.</p>
<p>Thanks if you have any info on this issue,</p>
<p>Andreas</p>

</body></html>