Bugzilla – Attachment 145153 Details for
Bug 32510
"New list" option is not available when too many patron's lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32510: Patrons - 'New list' option is not available when too many patron's lists
Bug-32510-Patrons---New-list-option-is-not-availab.patch (text/plain), 1.94 KB, created by
Hammat wele
on 2023-01-09 16:45:22 UTC
(
hide
)
Description:
Bug 32510: Patrons - 'New list' option is not available when too many patron's lists
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2023-01-09 16:45:22 UTC
Size:
1.94 KB
patch
obsolete
>From 7e9771e0c9d13f7f7d5c36a5d761663a684df699 Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Mon, 9 Jan 2023 16:38:47 +0000 >Subject: [PATCH] Bug 32510: Patrons - 'New list' option is not available when > too many patron's lists >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 3140444640..020551f755 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1997,6 +1997,11 @@ li { > padding: 5px 25em 0 0; > } > } >+ >+ .dropdown-menu { >+ max-height: 50vh; >+ overflow-y: auto; >+ } > } > > #patron_search_selected { >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32510
:
144753
|
145153
|
145155
|
147289