Bugzilla – Attachment 121892 Details for
Bug 28554
In itemsearch sort filters by description
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28554: In itemsearch sort item types filter by description
Bug-28554-In-itemsearch-sort-item-types-filter-by-.patch (text/plain), 1.19 KB, created by
David Nind
on 2021-06-12 22:20:57 UTC
(
hide
)
Description:
Bug 28554: In itemsearch sort item types filter by description
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-06-12 22:20:57 UTC
Size:
1.19 KB
patch
obsolete
>From 0536f934805a2687fa8475d66a8d8ffee3df6441 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 11 Jun 2021 13:42:00 +0200 >Subject: [PATCH] Bug 28554: In itemsearch sort item types filter by > description > >In itemsearch form, the item types filter should be sorted by description. > >Test plan : >1) Create several values and descriptions in item types >2) Go to itemsearch >3) See filter by item types sorts on description and not on value > >Signed-off-by: David Nind <david@davidnind.com> >--- > catalogue/itemsearch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl >index f5f66fe349..986f18d4ee 100755 >--- a/catalogue/itemsearch.pl >+++ b/catalogue/itemsearch.pl >@@ -262,7 +262,7 @@ if (scalar keys %params > 0) { > > my @branches = map { value => $_->branchcode, label => $_->branchname }, Koha::Libraries->search( {}, { order_by => 'branchname' } ); > my @itemtypes; >-foreach my $itemtype ( Koha::ItemTypes->search ) { >+foreach my $itemtype ( Koha::ItemTypes->search_with_localization ) { > push @itemtypes, { > value => $itemtype->itemtype, > label => $itemtype->translated_description, >-- >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 28554
:
121820
|
121821
|
121891
|
121892
|
121935
|
121936
|
123451
|
123464
|
123465
|
123466
|
124209
|
124210
|
124211