Bug report #17986

Field Filter bug in Attribute Table when field is a Value Map

Added by Kory Roberts over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Attribute table
Affected QGIS version:master Regression?:Yes
Operating System:Linux Mint 18.3 Cinnamon Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25882

Description

Say the Value Map for a field is set to 'A', 'B', 'C'. When the Field Filter is selected in the Attribute Table for that field, the drop down choice is literally the word "map" and that's it...no A/B/C.

Associated revisions

Revision 234bc1a4
Added by Nyall Dawson over 2 years ago

Fix value map widget broken when used as search widget

Fixes #17986

Revision 6fa362b5
Added by Nyall Dawson over 2 years ago

Fix value map search widget doesn't work for null/not null searches
before an initial value is picked

Refs #17986

History

#1 Updated by Nyall Dawson over 2 years ago

  • Regression? changed from No to Yes

#2 Updated by Nyall Dawson over 2 years ago

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

#3 Updated by Nyall Dawson over 2 years ago

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

#4 Updated by Kory Roberts over 2 years ago

Installed the latest build of QGIS. Working now. BUT why isn't <NULL> a selection choice if set in the value map? That's actually the "value" I need to filter for.

#5 Updated by Nyall Dawson over 2 years ago

There was another related bug. Note that filtering for null/not null is only available in the full filter form view - press the "select/filter features using form" button on the attribute table toolbar to access.

#6 Updated by Kory Roberts over 2 years ago

If that's the case, I don't think it's working (unless later correction of related bug fixed this, too).

Select/filter features using form -> select Is missing (null) for field with value map -> Select features|Filter features ... nothing happens.

#7 Updated by Nyall Dawson over 2 years ago

You'll need a build with that most recent fix

#8 Updated by Giovanni Manghi over 2 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF