Fix filtering on foreign objects (#67)

Closes #65

Signed-off-by: wkoot <[email protected]>
This commit is contained in:
wkoot authored and GitHub committed 2025-04-11 12:29:03 +02:00
1 parent 175a01b257
commit d773a407a2
5 files changed
+22 -16

No files matched your search

@@ -12,10 +12,10 @@
{% endif %}
</h2>
{% if search_obj == "cluster" %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" cluster=object.pk %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" cluster_id=object.pk %}
{% elif search_obj == "device" %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" device=object.pk %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" device_id=object.pk %}
{% elif search_obj == "virtualmachine" %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" virtualmachine=object.pk %}
{% htmx_table "plugins:netbox_slm:softwareproductinstallation_list" virtualmachine_id=object.pk %}
{% endif %}
</div>