Skip to content
Permalink
Browse files
Escape single quotes in quick search in attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk@13180 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 28, 2010
1 parent c39ef3d commit 188bbc70a73ead0252dbd11160d000809a2310ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/attributetable/qgsattributetabledialog.cpp
@@ -604,7 +604,7 @@ void QgsAttributeTableDialog::search()
else
str += " ~ '";

str += mQuery->displayText();
str += mQuery->displayText().replace("'", "''"); // escape quotes
str += "'";

doSearch( str );

0 comments on commit 188bbc7

Please sign in to comment.