You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I'm actually integrating your work in our ansible setup, to get inventory from GLPI API. works fine.
One problem though : the fact that it's not possible to get elements by name (uid_cols=true).
The inherent problem is when using meta search : if a meta filed has the same id in its category, it overwrites the result.
example when trying to get computers with a specific version of a software installed :
uid_cols (default false): a boolean to identify cols by the 'uniqid' of the searchoptions instead of a numeric value (see List searchOptions and 'uid' field)
Hello
I'm actually integrating your work in our ansible setup, to get inventory from GLPI API. works fine.
One problem though : the fact that it's not possible to get elements by name (uid_cols=true).
The inherent problem is when using meta search : if a meta filed has the same id in its category, it overwrites the result.
example when trying to get computers with a specific version of a software installed :
GET PARAMS :
result of query :
but if I remove the "uid_cols:1" I get this result, which does not display anymore the targeted hostname :
because "Software.name" has id 1 in software itemtype.
Is there any workaround ?
Regards
The text was updated successfully, but these errors were encountered: