Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

multiLineString not supported as searcheable fields #460

Open
art35rennes opened this issue Feb 29, 2024 · 0 comments
Open

multiLineString not supported as searcheable fields #460

art35rennes opened this issue Feb 29, 2024 · 0 comments

Comments

@art35rennes
Copy link

if a model include a multiLineString it must be exclude of searcheable fields to avoid following error on model index page. "adresse" is the multiLineString field.

SQLSTATE[HY000]: General error: 1210 Mauvais arguments à like
SELECT
  count(*) AS aggregate
FROM
  `senders`
WHERE
  (
    `id` LIKE % %
    OR `name` LIKE % %
    OR `mail` LIKE % %
    OR `phone` LIKE % %
    OR `adresse` LIKE % %
    OR `zip_code` LIKE % %
    OR `city` LIKE % %
    OR `logo` LIKE % %
    OR `company_logo` LIKE % %
    OR `sender_media_id` LIKE % %
    OR `created_at` LIKE % %
    OR `updated_at` LIKE % %
  )

And yes, i do a mistake, i want a text column, not a multiLineString :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant