Bugzilla – Attachment 160694 Details for
Bug 35742
Cannot remove new user added to fund
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35742: Fix removal of added user from fund
Bug-35742-Fix-removal-of-added-user-from-fund.patch (text/plain), 1.69 KB, created by
Jonathan Druart
on 2024-01-09 13:59:16 UTC
(
hide
)
Description:
Bug 35742: Fix removal of added user from fund
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-01-09 13:59:16 UTC
Size:
1.69 KB
patch
obsolete
>From 9793f0f6a83a46bfd30ea38ada887435fcd17a1f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 5 Jan 2024 12:17:53 +0100 >Subject: [PATCH] Bug 35742: Fix removal of added user from fund > >On the fund edition page, if a new user is added the "Remove" link does not remove the user. > >Test plan: >0. Do not apply this patch >1. Edit a fund >2. Click "Add users" >3. Search for patron and add some users >=> Notice that the "Remove" link does not remove the user >4. Apply this patch and repat 1, 2, 3 >=> Notice that the "Remove" link remove the user >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index cd26269a472..ebb1d096edb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -579,7 +579,7 @@ > var li = '<li id="user_' + borrowernumber + '">' > + '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' > + borrowernumber + '">' + borrowername + '</a> ' >- + ' • <a data-borrowernumber=" + borrowernumber +" class="del_user" href="#"><i class="fa fa-trash-can"></i> '+_("Remove")+'</a> ' >+ + ' • <a data-borrowernumber="' + borrowernumber + '" class="del_user" href="#"><i class="fa fa-trash-can"></i> '+_("Remove")+'</a> ' > + '</li>'; > $("#budget_users").prepend(li); > ids.push(borrowernumber); >-- >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 35742
:
160694
|
160710
|
161093