estimatedmetadata=true parameter on postgres datasource reports wrong number of features when filtering layer #24814
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Nikolay Lebedev (Nikolay Lebedev)
Original Redmine Issue: 16915
Affected QGIS version: 2.18.10
Redmine category:data_provider/postgis
When postgres datasource has estimatedmetadata=true parameter, layer reports wrong number of features.
This can be easily seen when setting provider filter and hitting "Test" button.
Dialog will report total feature count instead of number of selected features.
This also affects python api: layers with set filters have all datasource features instead of matching.
Related issue(s): #15270 (duplicates)
Redmine related issue(s): 5769
The text was updated successfully, but these errors were encountered: