Bugzilla – Attachment 172514 Details for
Bug 38109
Patron category types are not sorted when entering/editing patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38109: Sort patron category types before display
Bug-38109-Sort-patron-category-types-before-displa.patch (text/plain), 1.79 KB, created by
Pedro Amorim
on 2024-10-08 08:31:13 UTC
(
hide
)
Description:
Bug 38109: Sort patron category types before display
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-10-08 08:31:13 UTC
Size:
1.79 KB
patch
obsolete
>From 33709877c3391bd0f75fdd8be2462cea6f0f766f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 7 Oct 2024 19:58:17 +0000 >Subject: [PATCH] Bug 38109: Sort patron category types before display > >To test >1 - Patrons -> New patron -> {any category} >2 - Find the category dropdown >3 - Note the order of categories types >4 - Reload the page >5 - Note a new order >6 - Apply patch >7 - Refresh page, category types now ordered (by code) >8 - Refresh again, no change! > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >Signed-off-by: Pedro Amorim <pedro.amorim@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 17b7b85f2ad..8ec87ce6981 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -993,7 +993,7 @@ legend.collapsed i.fa.fa-caret-down::before { > <li> > <label for="categorycode_entry" class="required">Category: </label> > <select id="categorycode_entry" name="categorycode"> >- [% FOREACH category_type IN patron_categories.keys %] >+ [% FOREACH category_type IN patron_categories.keys.sort %] > [% SWITCH category_type %] > [% CASE 'C' %] > <optgroup label="Child"> >-- >2.39.5
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 38109
:
172499
|
172500
| 172514