Skip to content

Catalog Number field does not offer expected operators in query #1035

Description

@tlammer

Reported by Santa Barbara:

Interesting issue when working with non-integer indices. One of our databases has a “CatalogNumber” field that is populated with mostly integers, but it is in fact a string type (leading zeros and infrequent alphanumerics). On Specify6, we were able to use operators like “<“ with this field. In specify7, that query flags with a red field, and returns a set of records that aren’t readable in the records window. It looks like it gets passed to the database, which returns the same number of records each time.

More serious, it won’t work with “=“ either. Screen shot:

image

The way the same field looks in 6 in the query:
image

Metadata

Metadata

Assignees

Labels

1 - BugIncorrect behavior of the product2 - QueriesIssues that are related to the query builder or queries in general

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions