diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb7c22..c50ba8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,23 @@ ## [Unreleased] +## [1.8.3](https://github.com/ICTU/netbox_slm/releases/tag/1.8.3) - 2025-12-18 + +### Fixed + +* Filters with default order by ID (#75) + ## [1.8.2](https://github.com/ICTU/netbox_slm/releases/tag/1.8.2) - 2025-06-02 ### Fixed -* Permission check for adding software product installations (#70) +* Permission check for adding software product installations (#70) ## [1.8.1](https://github.com/ICTU/netbox_slm/releases/tag/1.8.1) - 2025-04-11 ### Fixed -* Filtering on foreign objects (#65) +* Filtering on foreign objects (#65) ## [1.8.0](https://github.com/ICTU/netbox_slm/releases/tag/1.8.0) - 2025-02-25 diff --git a/netbox_slm/__init__.py b/netbox_slm/__init__.py index 629825d..87391d0 100644 --- a/netbox_slm/__init__.py +++ b/netbox_slm/__init__.py @@ -16,7 +16,7 @@ limitations under the License. from netbox.plugins import PluginConfig -__version__ = "1.8.2" +__version__ = "1.8.3" class SLMConfig(PluginConfig): diff --git a/netbox_slm/api/views.py b/netbox_slm/api/views.py index 897c90f..e489b59 100644 --- a/netbox_slm/api/views.py +++ b/netbox_slm/api/views.py @@ -27,24 +27,24 @@ class NetboxSLMRootView(APIRootView): class SoftwareProductViewSet(NetBoxModelViewSet): - queryset = SoftwareProduct.objects.all() + queryset = SoftwareProduct.objects.all().order_by("id") serializer_class = SoftwareProductSerializer filterset_class = SoftwareProductFilterSet class SoftwareProductVersionViewSet(NetBoxModelViewSet): - queryset = SoftwareProductVersion.objects.all() + queryset = SoftwareProductVersion.objects.all().order_by("id") serializer_class = SoftwareProductVersionSerializer filterset_class = SoftwareProductVersionFilterSet class SoftwareProductInstallationViewSet(NetBoxModelViewSet): - queryset = SoftwareProductInstallation.objects.all() + queryset = SoftwareProductInstallation.objects.all().order_by("id") serializer_class = SoftwareProductInstallationSerializer filterset_class = SoftwareProductInstallationFilterSet class SoftwareLicenseViewSet(NetBoxModelViewSet): - queryset = SoftwareLicense.objects.all() + queryset = SoftwareLicense.objects.all().order_by("id") serializer_class = SoftwareLicenseSerializer filterset_class = SoftwareLicenseFilterSet diff --git a/sonar-project.properties b/sonar-project.properties index 43dc68d..a64ba97 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.organization=ictu sonar.projectKey=ICTU_netbox_slm sonar.projectName=netbox-slm -sonar.projectVersion=1.8.2 +sonar.projectVersion=1.8.3 # Path is relative to the sonar-project.properties file sonar.sources=netbox_slm