Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

column filter does not work as expected #16690

Closed
qgib opened this issue May 10, 2013 · 5 comments
Closed

column filter does not work as expected #16690

qgib opened this issue May 10, 2013 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 10, 2013

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 7798
Affected QGIS version: master
Redmine category:vectors
Assignee: Matthias Kuhn


open the attached sample vector and try to search in the table of attributes with the new column filter (column @descri@) for the phrase

@Montados de azinho com pastagem no subcoberto (<50%)@

it won't work. But If you search just

@Montados de azinho com pastagem no subcoberto@

or

@(<50%)@

will work.


@qgib
Copy link
Contributor Author

qgib commented May 10, 2013

Author Name: Giovanni Manghi (@gioman)


  • 5667 removed filter.zip

@qgib
Copy link
Contributor Author

qgib commented May 10, 2013

Author Name: Giovanni Manghi (@gioman)


  • 5668 was configured as filter.zip

@qgib
Copy link
Contributor Author

qgib commented May 11, 2013

Author Name: Salvatore Larosa (@slarosa)


confirmed here on Linux.

Also, when it works, the dialog title is not refreshed!


  • assigned_to_id was configured as Matthias Kuhn

@qgib
Copy link
Contributor Author

qgib commented May 12, 2013

Author Name: Matthias Kuhn (@m-kuhn)


Fixed in changeset "4d3b1841ceab56c30b4d9d700382066eecdf093f".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented May 12, 2013

Author Name: Matthias Kuhn (@m-kuhn)


It's mostly fixed.
It was caused by a bug in QgsExpression, parsing a LIKE clause like a regexp.

It's still not possible to escape % and _ signs with the LIKE operator but now it the misbehavior is to match more rows instead of less rows. Followup opened here:
#16702

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant