Created attachment 144753 [details] bottom of the drop-down menu is not showing "New list" It's impossible to add a patron to a new list when Koha has more than 30 patrons’ lists. This behaviour affects the "add patron to list" drop-down menu in the patron search page (Patrons module > patron search > add to patron list button ). Koha will show an endless drop-down menu without the "New list" option, so you can't create more lists. This unfortunate behaviour is causing issues in large school who love and use over 700 patrons' lists. Test plan 1. Go to Patron module 2. Search for patrons 3. Select few accounts 4. Click on "add to patron list", then choose "New list" If your Koha has a little number of patrons’ lists, add some more until you've reached a total of 30 lists. 5. When you've reached 30 lists, try to add a patron to a new list --> the "new list" option is no longer available after 30 lists
see this sandbox to visualise the behaviour https://staff-minlibro.sandbox.bywatersolutions.com/cgi-bin/koha/members/members-home.pl?firstletter=A
Created attachment 145153 [details] [review] Bug 32510: Patrons - 'New list' option is not available when too many patron's lists It's impossible to add a patron to a new list when Koha has more than 35 patrons’ lists. This behaviour affects the 'add patron to list' drop-down menu in the patron search page (Patrons module > patron search > add to patron list button ). Koha will show a drop-down menu without the 'New list' option being visible, so you can't create more lists. This patch allows scrolling the drop-down menu when there are too many lists. To reproduce: 1. Go to Patron module 2. Search for patrons 3. Select few accounts 4. Click on 'add to patron list', then choose 'New list' If your Koha has a little number of patrons’ lists, add some more until you've reached a total of 35 lists (or more depending on your sreen resolution). 5. When you've reached 35 lists, try to add a patron to a new list --> the 'new list' option is no longer available after 35 lists 6. Apply the patch 7. compile the .scss file 'yarn build --view' 8. Clear your navigator caches 9. repeat step 1, 2, 3, 4 11. You can now scroll drop-down menu and see The 'New list' option
Created attachment 145155 [details] [review] Bug 32510: Patrons - 'New list' option is not available when too many patron's lists It's impossible to add a patron to a new list when Koha has more than 35 patrons’ lists. This behaviour affects the 'add patron to list' drop-down menu in the patron search page (Patrons module > patron search > add to patron list button ). Koha will show a drop-down menu without the 'New list' option being visible, so you can't create more lists. This patch allows scrolling the drop-down menu when there are too many lists. To reproduce: 1. Go to Patron module 2. Search for patrons 3. Select few accounts 4. Click on 'add to patron list', then choose 'New list' If your Koha has a little number of patrons’ lists, add some more until you've reached a total of 35 lists (or more depending on your sreen resolution). 5. When you've reached 35 lists, try to add a patron to a new list --> the 'new list' option is no longer available after 35 lists 6. Apply the patch 7. compile the .scss file 'yarn build --view' 8. Clear your navigator caches 9. repeat step 1, 2, 3, 4 11. You can now scroll drop-down menu and see The 'New list' option Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Created attachment 147289 [details] [review] Bug 32510: Patrons - 'New list' option is not available when too many patron's lists It's impossible to add a patron to a new list when Koha has more than 35 patrons’ lists. This behaviour affects the 'add patron to list' drop-down menu in the patron search page (Patrons module > patron search > add to patron list button ). Koha will show a drop-down menu without the 'New list' option being visible, so you can't create more lists. This patch allows scrolling the drop-down menu when there are too many lists. To reproduce: 1. Go to Patron module 2. Search for patrons 3. Select few accounts 4. Click on 'add to patron list', then choose 'New list' If your Koha has a little number of patrons’ lists, add some more until you've reached a total of 35 lists (or more depending on your sreen resolution). 5. When you've reached 35 lists, try to add a patron to a new list --> the 'new list' option is no longer available after 35 lists 6. Apply the patch 7. compile the .scss file 'yarn build --view' 8. Clear your navigator caches 9. repeat step 1, 2, 3, 4 11. You can now scroll drop-down menu and see The 'New list' option Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work, thanks everyone! Pushed to 22.11.x for the next release.