Bug report #7989
QGIS Nightly (June 2-3) Filter Vector, sql query
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows XP||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16841|
The query results from a vector filter seem to toggle between viewing the original data set and then the subset from the first query. I am using this to tweak the positions of labels. (seems awkward..)
Let me try again.
0) build a filtered layer, copy this layer to a new layer. (maybe the problem starts here)
1) build a query layer by selecting some points in dataset, say
"UA-ID" = 'OT-11' OR "UA-ID" = 'OT-14'
2) later alter this query to be:
"UA-ID" = 'OT-11' OR "UA-ID" = 'OT-14' OR "UA-ID" = 'OT-13'
3) test the query
The test returns "the where clause found 2 rows"
4) clear the query
5) test the query
The test returns "the where clause found 3 rows", even though the query box is now empty.
And, now, whilst trying to reproduce this problem I seem to have loaded garbage into the point shape file. It appears that label placement settings are displaying the wrong attribute/field. The file does not seem to be corrupted