Bug report #12545
Wrong features count filtering a Postgresql layer
|Affected QGIS version:||2.8.1||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20687|
If I open the query builder for adding a filter on a Postgresql layer in QGIS and input a filter expression, the 'test' button returns a wrong count of the features obtained with filter applied (it returns the whole features number). The wrong count number is shown also if I activate the 'show features count' option for the layer in the layers panel, but the rendered features are those correctly filtered, and so are also the rows shown in the attribute table (with correct number displayed too).