Bug report #21078

Layout Attribute Table 'Filter with' not working with variables

Added by Angus McBride over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Map Composer/Printing
Affected QGIS version:3.4.4 Regression?:Yes
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28896

Description

Within the layout composer, the 'filter with' feature on attribute tables no longer works for with @... variables.
I have tested this with @layout_name, @atlas_pagename, @atlas_featureid, @project_crs and @project_author variables but assume it doesn't work with any of them.

The variables and their values can be seen in the expression builder, but when used in the filter itself it does not function as expected.

This used to work in previous versions.

filterexample.png - Screenshot of issue (13.6 KB) Angus McBride, 2019-01-23 12:07 PM

Associated revisions

Revision 60f252c2
Added by Nyall Dawson over 5 years ago

[layouts] Fix attribute table filtering not utilising expression context

Fixes #21078

Revision de0aedec
Added by Nyall Dawson about 5 years ago

[layouts] Fix attribute table filtering not utilising expression context

Fixes #21078

History

#2 Updated by Nyall Dawson over 5 years ago

  • Assignee set to Nyall Dawson
  • Status changed from Open to In Progress

#3 Updated by Nyall Dawson over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF