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

Add a search option for every state/itemtype visibility #16746

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -

Generate a Visibility search option for every itemtype that is declared in $CFG_GLPI['state_types'].

I had to change the algorithm used to generate the ID has I had a duplicated ID generated. I keep it as draft until we decide of the best solution to decrease the probability of ID conflicts.
A solution could be to increment the range (for instance 10000-99999 -> 1000000-9999999). I do not know if there are limitations related to search option IDs somewhere.

@cedric-anne cedric-anne self-assigned this Mar 11, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants