Skip to content

getOrganizations excludes results where organization has no packages #99

@starsinmypockets

Description

@starsinmypockets

Due to, I believe, a bug in the CKAN API, the organization_list API call will return an empty array if the organization has no packages and sort: 'package_count' is included in the body of the request. As a result, the organizations page is empty, even if the CKAN Classic backend has Organizations published.

https://github.com/datopian/frontend-v2/blob/master/lib/dms.js#L57

Propose that until the feature is fixed in the CKAN API that we remove the sort field (it will default to sort by name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions