Repository: SaaShup/netbox-docker-plugin (language: python)

Issue:
Containers is not visible in filter form field
| Netbox version | Plugin Version | Agent version |  Docker API Version |
| --- | --- | --- | --- |
| 3.7.* | 1.3.1 | - | - |

## Actual Behavior

When we want to filter a list of entity by container, the container list contains invisible elements.

![image](https://github.com/SaaShup/netbox-docker-plugin/assets/1986015/7a0c2031-769c-4ad8-9205-9ddaa73330af)

## Desired Behavior

The list must contain the name of the containers.

Container API Serializer must contain a `display` field.



Discussion / hints:

Fix patch:
diff --git a/netbox_docker_plugin/api/serializers.py b/netbox_docker_plugin/api/serializers.py
index dfaa7fa..d840fac 100644
--- a/netbox_docker_plugin/api/serializers.py
+++ b/netbox_docker_plugin/api/serializers.py
@@ -138,6 +138,7 @@ class Meta:
         fields = (
             "id",
             "url",
+            "display",
             "name",
             "ContainerID",
             "state",
@@ -389,6 +390,7 @@ class Meta:
         fields = (
             "id",
             "url",
+            "display",
             "host",
             "image",
             "name",


Test patch:
diff --git a/netbox_docker_plugin/tests/container/test_container_api.py b/netbox_docker_plugin/tests/container/test_container_api.py
index 257d516..39b2b99 100644
--- a/netbox_docker_plugin/tests/container/test_container_api.py
+++ b/netbox_docker_plugin/tests/container/test_container_api.py
@@ -23,6 +23,7 @@ class ContainerApiTestCase(
     model = Container
     brief_fields = [
         "ContainerID",
+        "display",
         "hostname",
         "id",
         "name",