ckan icon indicating copy to clipboard operation
ckan copied to clipboard

Incorrect organization dataset counts in side bar

Open amercader opened this issue 1 year ago • 4 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

amercader avatar Jan 09 '24 11:01 amercader

Hi @amercader @smotornyuk

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

vishal-agr99 avatar Jan 23 '24 06:01 vishal-agr99

@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 avatar Jan 29 '24 03:01 Labuschagne-Miro

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

Nisha1293 avatar Feb 13 '24 06:02 Nisha1293

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

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

Labuschagne-Miro avatar Feb 13 '24 10:02 Labuschagne-Miro