samvera-labs / nurax-pre2023

Vanilla-plus Hyrax app for testing and tire-kicking
https://nurax-dev.curationexperts.com
Other
8 stars 18 forks source link

Collection count on /dashboard/collections page is wrong #275

Closed chrisdaaz closed 6 years ago

chrisdaaz commented 6 years ago

Descriptive summary

As a logged in user, on the collections page, there is text that says how many collections are "in the repository". This text actually only shows the up to the number of collections on the page and only the number of the collections the user has access to.

Rationale

It seems that the purpose of this text is to show users how many collections are in the repository.

Expected behavior

The number should reflect the number of collections in the repository.

Actual behavior

(Admin) Displays number of collections on the page: image

(Admin) Changes when you change the number: image

(User) Only the collection the user has edit access to: image

Steps to reproduce the behavior

  1. Dashboard- > Collections
  2. Try to determine how many collections are in the repository

Related work

chrisdaaz commented 6 years ago

moved to https://github.com/samvera/hyrax/issues/2974

julesies commented 6 years ago

@chrisdaaz can you test?

chrisdaaz commented 6 years ago

fixed thank you!!