Bugzilla – Attachment 160009 Details for
Bug 35493
Housebound roles show as a collapsed field option when checked in CollapseFieldsPatronAddForm, even if housebound is off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35493: Do not show housebound roles as collapsible unless the housebound module is on
Bug-35493-Do-not-show-housebound-roles-as-collapsi.patch (text/plain), 1.99 KB, created by
Martin Renvoize (ashimema)
on 2023-12-19 15:01:28 UTC
(
hide
)
Description:
Bug 35493: Do not show housebound roles as collapsible unless the housebound module is on
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-12-19 15:01:28 UTC
Size:
1.99 KB
patch
obsolete
>From 09380b85e3f76e68a6dfb2d6ac75349482cbcbbe Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 5 Dec 2023 17:09:26 +0000 >Subject: [PATCH] Bug 35493: Do not show housebound roles as collapsible unless > the housebound module is on > >To test: >1. HouseboundModule - disabled >2. CollapseFieldsPatronAddForm, add 'Housebound roles' >3. Edit/create a patron. >4. Notice the useless Housebound roles link at the top of the page >5. APPLY PATCH >6. Try 1 - 3 again, this time no Housebound roles at the top ( Show collapsed fields ) >7. Turn on HouseboundModule and make sure it now shows > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index e1fbc890161..816b7f088fd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -213,7 +213,7 @@ legend:hover { > [% CASE 'login' %] <span>OPAC/Staff interface login</span> | > [% CASE 'flags' %] <span>Patron account flags</span> | > [% CASE 'debarments' %] <span>Patron restrictions</span> | >- [% CASE 'housebound' %] <span>Housebound roles</span> | >+ [% CASE 'housebound' %][% IF Koha.Preference('HouseboundModule')%] <span>Housebound roles</span> |[% END %] > [% CASE 'additional' %] <span>Additional attributes and identifiers</span> | > [% CASE 'messaging' %] <span>Patron messaging preferences</span> | > [% END %] >-- >2.43.0
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 35493
:
159600
|
159608
| 160009