Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect organization dataset counts in side bar #8007

Open
amercader opened this issue Jan 9, 2024 · 4 comments · May be fixed by #8252
Open

Incorrect organization dataset counts in side bar #8007

amercader opened this issue Jan 9, 2024 · 4 comments · May be fixed by #8252

Comments

@amercader
Copy link
Member

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

@vishal-agr99
Copy link
Contributor

Hi @amercader @smotornyuk

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

@Labuschagne-Miro
Copy link
Contributor

@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.

@Nisha1293
Copy link

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

@Labuschagne-Miro
Copy link
Contributor

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

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

@TomeCirun TomeCirun linked a pull request Jun 10, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants