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

There seems to be an arbitrary limit on the number of server-side files shown in an entry page. #5

Open
paul-breen opened this issue Apr 26, 2024 · 7 comments

Comments

@paul-breen
Copy link

We've noticed that one of our Ramadda entries that exposes a directory hierarchy of server-side files has an arbitrary limit on the number of (synth) file entries it will show for a given directory.

For example, one of the directories actually has 2851 files, but Ramadda only shows 999 of them. This is a showstopper for us. We have many other entries with actual file counts > 999.

How can we raise or remove this limit? I've had a look in the entry page and the admin pages but can't find anything that affects this limit. In the entry page, there's a property called 'Order' which was set to 999, and I was hopeful that this would be what I was looking for, but alas, raising it didn't make any difference.

Any insight on this is gratefully received.

@paul-breen
Copy link
Author

After much digging, I see that there's a max URL query parameter. Setting this to a number greater than the count of files enables all files to be shown, and includes simple pagination controls at the top of the file list table.

In the default state, it's not obvious to the user that there are additional files that they can't see, and it seems unreasonable for them to have to add this URL query parameter to the URL to be able to paginate all files.

So as originally stated, is there a way to remove this arbitrary limit and to always show all files? Failing that, is there a way to force the max URL query parameter to always be present in the Ramadda URLs, so that at least it's clear to the user that they can paginate to see additional files?

@jeffmcwhirter
Copy link
Member

jeffmcwhirter commented Apr 26, 2024 via email

@paul-breen
Copy link
Author

Yeah, that's great. Thanks Jeff!

@paul-breen
Copy link
Author

Hi Jeff,

Just to follow up on this. We've deployed the version above with the fix and it solves our issue. Thanks very much.

In your comment above, you mention that you might look into adding paging to the entry tables. Have you done that yet?

@jeffmcwhirter
Copy link
Member

jeffmcwhirter commented Aug 21, 2024 via email

@jeffmcwhirter
Copy link
Member

jeffmcwhirter commented Aug 21, 2024 via email

@paul-breen
Copy link
Author

Hi Jeff,

Yeah, I'd noticed that there was paging functionality available, but that it didn't appear unless you manipulated the entry URL, which of course isn't suitable for end users to do.

Great, I'll look at getting this release deployed.

Thanks again,
Paul.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants