{"action":"closed","issue":{"url":"https://api.github.com/repos/samvera/hyrax/issues/3078","repository_url":"https://api.github.com/repos/samvera/hyrax","labels_url":"https://api.github.com/repos/samvera/hyrax/issues/3078/labels{/name}","comments_url":"https://api.github.com/repos/samvera/hyrax/issues/3078/comments","events_url":"https://api.github.com/repos/samvera/hyrax/issues/3078/events","html_url":"https://github.com/samvera/hyrax/issues/3078","id":323684263,"number":3078,"title":"pagination is needed when child works exceed page size limit (e.g. > 10)","user":{"login":"elrayle","id":6855473,"avatar_url":"https://avatars0.githubusercontent.com/u/6855473?v=4","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jgondron","id":11502744,"avatar_url":"https://avatars2.githubusercontent.com/u/11502744?v=4","gravatar_id":"","url":"https://api.github.com/users/jgondron","html_url":"https://github.com/jgondron","followers_url":"https://api.github.com/users/jgondron/followers","following_url":"https://api.github.com/users/jgondron/following{/other_user}","gists_url":"https://api.github.com/users/jgondron/gists{/gist_id}","starred_url":"https://api.github.com/users/jgondron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgondron/subscriptions","organizations_url":"https://api.github.com/users/jgondron/orgs","repos_url":"https://api.github.com/users/jgondron/repos","events_url":"https://api.github.com/users/jgondron/events{/privacy}","received_events_url":"https://api.github.com/users/jgondron/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgondron","id":11502744,"avatar_url":"https://avatars2.githubusercontent.com/u/11502744?v=4","gravatar_id":"","url":"https://api.github.com/users/jgondron","html_url":"https://github.com/jgondron","followers_url":"https://api.github.com/users/jgondron/followers","following_url":"https://api.github.com/users/jgondron/following{/other_user}","gists_url":"https://api.github.com/users/jgondron/gists{/gist_id}","starred_url":"https://api.github.com/users/jgondron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgondron/subscriptions","organizations_url":"https://api.github.com/users/jgondron/orgs","repos_url":"https://api.github.com/users/jgondron/repos","events_url":"https://api.github.com/users/jgondron/events{/privacy}","received_events_url":"https://api.github.com/users/jgondron/received_events","type":"User","site_admin":false},{"login":"laritakr","id":17851674,"avatar_url":"https://avatars3.githubusercontent.com/u/17851674?v=4","gravatar_id":"","url":"https://api.github.com/users/laritakr","html_url":"https://github.com/laritakr","followers_url":"https://api.github.com/users/laritakr/followers","following_url":"https://api.github.com/users/laritakr/following{/other_user}","gists_url":"https://api.github.com/users/laritakr/gists{/gist_id}","starred_url":"https://api.github.com/users/laritakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laritakr/subscriptions","organizations_url":"https://api.github.com/users/laritakr/orgs","repos_url":"https://api.github.com/users/laritakr/repos","events_url":"https://api.github.com/users/laritakr/events{/privacy}","received_events_url":"https://api.github.com/users/laritakr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-16T15:56:58Z","updated_at":"2018-05-24T19:52:37Z","closed_at":"2018-05-24T19:52:37Z","author_association":"CONTRIBUTOR","body":"### Descriptive summary\r\n\r\nChild works do not have any pagination applied regardless of how many child works there are.  If there are hundreds or even thousands of child works, this is a UI/UX problem and a performance problem.  This issue proposes adding in pagination, the same way that parent collections, sub-collections, and items are paginated in Collections.\r\n\r\nNeed to verify if the same lack of pagination exists for listing files in a work.\r\n\r\n### Rationale\r\n\r\nPagination addresses UI/UX and performance.  It also creates a consistent UI as pagination is used for other lists of items.\r\n\r\n### Expected behavior\r\n\r\nWhen a work has > 10 (or pagesize defined) child works, the list of child works will be paginated.\r\n\r\n### Actual behavior\r\n\r\nThe list of child works is never paginated.\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. Create an 12 Image works\r\n1. Add 11 of those works as a child of the first work (Dashboard -> Works -> click title of first work -> Edit work -> Relationships tab -> Other Works in this Work section)\r\n1. On the parent work's show page, see the list of child works at the bottom.\r\n\r\nBEFORE FIX:  All 11 child works are displayed without pagination\r\nAFTER FIX: The first 10 child works are displayed on the first page.  The 11th child work is displayed on the second page.\r\n\r\n### Related work\r\n\r\nSee pagination for collections as an example.  PR #2662, #2635\r\n"}}
{"actor":{"display_login":"elrayle"}}