Skip to content

Feature Request: Allow device filtering based on a custom field (from Additional Fields plugin) #32

@markk91

Description

@markk91

Hi,

First of all, thank you for your great work on the ProtocolsManager plugin — it’s a very useful extension.

Currently, when creating a new protocol in ProtocolsManager, the plugin filters devices based on the GLPI user field — meaning only assets assigned directly to that user are displayed.

In many setups (including mine), this is not always ideal.
I uses the Additional Fields plugin to store a custom field called “Materially responsible” which indicates who is actually responsible for a given device.
This person may differ from the user assigned to the item in GLPI.

Suggested solution

  • Add a setting in Templates settings or plugin configuration to define which field is used for filtering devices:

  • Option 1: Standard user field (default)

  • Option 2: Custom field from Additional Fields plugin

If the Additional Fields plugin is active, detect its available fields automatically and allow selecting one (for example via dropdown).

It would be extremely helpful if the plugin allowed device filtering based on such a custom field, rather than only by the default user relation.

Environment

  • GLPI version: 11.0.1
  • ProtocolsManager version: 1.6.0.1
  • Additional Fields plugin: 1.22.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    not planned maybeNot currently planned, but could be added depending on priorities.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions