Skip to content

Commit

Permalink
attribute table filter: consider LongLong numeric too
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 13, 2015
1 parent 1e9774f commit 0a51260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributetabledialog.cpp
Expand Up @@ -660,7 +660,7 @@ void QgsAttributeTableDialog::filterQueryChanged( const QString& query )
return;

QVariant::Type fldType = flds[fldIndex].type();
bool numeric = ( fldType == QVariant::Int || fldType == QVariant::Double );
bool numeric = ( fldType == QVariant::Int || fldType == QVariant::Double || fldType == QVariant::LongLong );

QString sensString = "ILIKE";
if ( mCbxCaseSensitive->isChecked() )
Expand Down

0 comments on commit 0a51260

Please sign in to comment.