diff --git a/fyle_accounting_mappings/views.py b/fyle_accounting_mappings/views.py index 1112d18..3cce602 100644 --- a/fyle_accounting_mappings/views.py +++ b/fyle_accounting_mappings/views.py @@ -433,8 +433,7 @@ class PaginatedDestinationAttributesView(LookupFieldMixin, ListAPIView): """ Paginated Destination Attributes view """ - queryset = DestinationAttribute.objects.filter(active=True) + queryset = DestinationAttribute.objects.filter(active=True).order_by('value') serializer_class = DestinationAttributeSerializer filter_backends = (DjangoFilterBackend,) filterset_fields = {'attribute_type': {'exact', 'in'}, 'display_name': {'exact', 'in'}, 'value': {'icontains'}} - ordering_fields = ('value',) diff --git a/setup.py b/setup.py index eb6cf9c..6ee695e 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='fyle-accounting-mappings', - version='1.32.2', + version='1.32.3', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='Django application to store the fyle accounting mappings in a generic manner',