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

Move items across pages #10

Open
ludgerey opened this issue Feb 18, 2020 · 3 comments
Open

Move items across pages #10

ludgerey opened this issue Feb 18, 2020 · 3 comments

Comments

@ludgerey
Copy link

ludgerey commented Feb 18, 2020

Is there a way to move an item to the next/previous page? As I see it, currently no.

Of cause Drag'n'drop is hard to manage across pages. But maybe add an extra button at the first and list item? Or use the existing arrow buttons only to move to the next page instead of the end?

@Tarpsvo
Copy link
Collaborator

Tarpsvo commented Apr 17, 2020

I'll give it some thought, maybe an UI/UX designer could pitch in. :D

@simondavies
Copy link

I am also thinking about how to handle pagination as I am using in the parent HasMany::make but within the relationships parent it list it with sorting but has pagination in it so cannot sort proper.

Currently I get past this by changing the pagination settings in the nova config file to load-more, enabling me to load them all and then sort.

Wondering if theres a setting that can be used to remove pagination to a relationship listings etc.

@Hazzard13
Copy link

This isn't a great solution, but one I've found is to simply set the number of models loaded for the relationship to something impractically large. So on your Nova Resource, add:

public static $perPageViaRelationship = 50;

You could push that even further, but of course that's risking making the page hard to use.

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

4 participants