Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field with type number no longer searchable #895

Open
2 tasks done
nightstorm2 opened this issue Jan 9, 2025 · 5 comments
Open
2 tasks done

Field with type number no longer searchable #895

nightstorm2 opened this issue Jan 9, 2025 · 5 comments

Comments

@nightstorm2
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.17

Plugin version

1.21.17

Bug description

After the update to version 1.21.17, fields with the type number are displayed as comma numbers and are no longer searchable.

grafik

grafik

Relevant log output

No response

Page URL

No response

Steps To reproduce

  1. create a field with the type number
  2. enter an integer
  3. search for the number

Your GLPI setup information

No response

Anything else?

No response

@stonebuzz
Copy link
Contributor

Hi @nightstorm2

I don't reproduce with the latest version of plguin

image

Can you clear GLPI's cache and run another test?

php bin/console cache:clear

Can you also post a screenshot of the related fields?

Best regards

@nightstorm2
Copy link
Author

Hi @stonebuzz

Thank you for your reply.
I have cleared the cache and restarted the server. Unfortunately, this has not led to any improvement.
The screenshots of the created issue are therefore still valid. I see that you have dots as separators and I have commas. Could this be the cause of the error?

Best regards

@stonebuzz
Copy link
Contributor

Hi @nightstorm2

Can you show me values in database?

@nightstorm2
Copy link
Author

Hello @stonebuzz

I'm not familiar with database queries, but if you can tell me the command for in the Linux environment, then I can run it and report the result.

@stonebuzz
Copy link
Contributor

Hi @nightstorm2

SELECT * FROM glpi_plugins_fields_fields;
SELECT * FROM glpi_plugins_fields_fcontainers;

Best regards

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

No branches or pull requests

2 participants