Bugzilla – Attachment 159600 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.88 KB, created by
Lucas Gass (lukeg)
on 2023-12-05 17:11:28 UTC
(
hide
)
Description:
Bug 35493: Do not show housebound roles as collapsible unless the housebound module is on
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-12-05 17:11:28 UTC
Size:
1.88 KB
patch
obsolete
>From 33eec07bfd4fa593e02a3b9f77b371bbb08bff69 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 >--- > .../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 b6b70882e67..82dd72592e0 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.30.2
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