Bugzilla – Attachment 101539 Details for
Bug 23590
Add the ability to change the manager of a suggestion and notify the new manager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23590: Fix 'select manager' when creation a suggestion
Bug-23590-Fix-select-manager-when-creation-a-sugge.patch (text/plain), 1.56 KB, created by
Jonathan Druart
on 2020-03-24 11:12:49 UTC
(
hide
)
Description:
Bug 23590: Fix 'select manager' when creation a suggestion
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-24 11:12:49 UTC
Size:
1.56 KB
patch
obsolete
>From 5dbd8846d6d1a40e5cef1b3dfb6d341e42fe4624 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 Mar 2020 12:12:06 +0100 >Subject: [PATCH] Bug 23590: Fix 'select manager' when creation a suggestion > >On creating the TT var managedby_patron does not exist yet >--- > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 78ed07ff66..7fdec3618b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -916,7 +916,11 @@ > [% IF op == "save" %] > var notify = $('#notify'); > if ( notify.length ) { >- if ( borrowernumber == [% logged_in_user.borrowernumber | html %] || borrowernumber == [% managedby_patron.borrowernumber | html %] ) { >+ [% IF managedby_patron %] >+ if ( borrowernumber == [% logged_in_user.borrowernumber | html %] || borrowernumber == [% managedby_patron.borrowernumber | html %] ) { >+ [% ELSE %] >+ if ( borrowernumber == [% logged_in_user.borrowernumber | html %] ) { >+ [% END %] > $(notify).prop('checked', false).prop('disabled', true); > } else { > $(notify).prop('disabled', false); >-- >2.20.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 23590
:
95162
|
95163
|
95164
|
95165
|
95166
|
95167
|
95168
|
95169
|
95317
|
95318
|
95319
|
95320
|
95321
|
95322
|
95323
|
95324
|
95398
|
95399
|
95407
|
95408
|
95420
|
95421
|
95422
|
95423
|
95424
|
95425
|
95426
|
95427
|
95428
|
95429
|
95430
|
95431
|
95487
|
95488
|
95489
|
95490
|
95491
|
95492
|
95493
|
95494
|
95495
|
95496
|
95497
|
95498
|
98119
|
98120
|
98121
|
98122
|
98123
|
98124
|
98126
|
98127
|
98128
|
98129
|
98130
|
98131
|
98240
|
98267
|
98268
|
98279
|
100788
|
100789
|
100790
|
100791
|
100792
|
100793
|
100794
|
100795
|
100796
|
100797
|
100798
|
100799
|
100800
|
100801
|
100802
|
100803
|
100804
|
100846
|
100847
|
100848
|
100849
|
100850
|
100851
|
100852
|
100853
|
101539
|
101548
|
101588
|
101589
|
101590
|
101591
|
101592
|
101593
|
101594
|
101595
|
101596
|
101597
|
101598
|
101599
|
101600
|
101601
|
101602
|
101603
|
101604
|
101605
|
101606
|
101695