Skip to content

Searching not working against bigint #337

Open
@uu

Description

@uu

If column is bigint, then datatable considers it a string. Empty string.

@view_columns ||= {barcode: { source: 'Product.barcode', cond: :eq, orderable: false }}

barcode = 123123123

SELECT  "products".* FROM "products" WHERE "products"."barcode" = 123123123

barcode = 96749800858

SELECT  "products".* FROM "products" WHERE CAST("products"."barcode" AS VARCHAR) ILIKE ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions