Hello!
What happened?
I have created more than 15 playlist (28 in total), but I am unable to add videos to the first playlists as only 14 are showed in the "register menu" in the video view.
Same problem with the API, which report 28 playlists but show only 15 :

I have not found any parameters to get more than 14 playlist int the API, is this exist?
What do you expect to happen instead?
It should be possible to add video to any playlist. Perhaps by expending the list to more than 15, or adding a parameters to get all existing playlist?
Steps to reproduce:
Create 16 playlist
Open a video
Try to register your video to the first playlist created (or the oldest modified), it does not appear in the list
Additional information
Does not hesitate to tell me if anything is missing or if I could give you more details
Thanks!
Hello!
As suggested on IRC, I have rebuilt an image after modifying this line:
https://github.com/Chocobozzz/PeerTube/blob/develop/server/initializers/constants.ts#L26
I change 15 to 30, and it indeed solves the problem by displaying 30 playlists instead of 15 :+1:

Dunno if this is acceptable for production but does the job as workaround.
Perhaps an option (from user profile?) to change this value could be an idea? But it would be not really instinctive :-/
As an idea, on youtube, playlists list offer recent playlists (as Peertube does) and also a field to search for older playlists if they are not visible. Is it something possible?
Please feel free to ask if some more test could help :pray:
Thanks!
a field to search for older playlists if they are not visible. Is it something possible?
Yep, this is a very good idea.
While I think about it, an option in the API to allow getting all playlist could be a good addition too :thinking:
At the moment it seems to be controlled by the same constant pagination.count.default than the UI (on my instance I get 30 max when listing playlists)
I fixed the overflow in 223b24e618146f85b20b5bf365bc18d14a5964cd.
I added a search input and search option in the API for a user's playlists:
