Koha/koha-tmpl/intranet-tmpl
Hammat Wele 593b45dcb1 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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e91b3fb4b0)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
2023-04-16 18:49:58 +01:00
..
js Bug 32307: Fix gallery when Coce is enabled 2023-02-24 08:30:33 +00:00
lib Bug 32447: Fix DataTable filtering when hidden columns are in place 2023-04-16 18:10:38 +01:00
prog Bug 32510: Patrons - 'New list' option is not available when too many patron's lists 2023-04-16 18:49:58 +01:00