ckan / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers catalog.data.gov, open.canada.ca/data, data.humdata.org among many other sites.

Home Page:https://ckan.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect organization dataset counts in side bar

amercader opened this issue · comments

CKAN version

At least CKAN 2.9 onwards

Describe the bug

The organization snippet in the side bar shown in the dataset and organization page shows the total dataset for this organization:

Screenshot 2024-01-09 at 12-44-42 org - Organizations - CKAN

But if you search datasets within that organization, the total reflects the number of results returned, not the total datasets:

Screenshot 2024-01-09 at 12-44-56 org - Organizations - CKAN

Steps to reproduce

  • Create an organization
  • Create at least two datasets
  • Go to the organization index page, search for just one of the datasets

Expected behavior

The number of datasets in the side bar org snippet should be constant, and be the total number of datasets

Hi @amercader @smotornyuk

I want to work on this issue. Please acknowledge it.

@Vishal-NEC Thanks for showing your interest to work on this issue but I am already working on this issue. You should look for another issue.

@Labuschagne-Miro
Are you still working on this issue?

@Labuschagne-Miro Are you still working on this issue?

@Nisha1293 Yes. Will raise pull request soon. It is in progress.