Bugzilla – Attachment 123465 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.29 KB, created by
David Nind
on 2021-08-04 21:13:19 UTC
(
hide
)
Description:
Bug 28554: In itemsearch sort item types filter by description
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-08-04 21:13:19 UTC
Size:
1.29 KB
patch
obsolete
>From 031ada8dca29c2e62b78529c398151a283dcc33e 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >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 9de6fc601f..78900429f2 100755 >--- a/catalogue/itemsearch.pl >+++ b/catalogue/itemsearch.pl >@@ -261,7 +261,7 @@ if ( defined $format ) { > > 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