Bugzilla – Attachment 40023 Details for
Bug 13950
Sort Item search home library list by branch name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 13950: Sort Item search home library list by branch name
Signed-off-Bug-13950-Sort-Item-search-home-library.patch (text/plain), 1.17 KB, created by
Marc Véron
on 2015-06-09 16:24:57 UTC
(
hide
)
Description:
[Signed-off] Bug 13950: Sort Item search home library list by branch name
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-06-09 16:24:57 UTC
Size:
1.17 KB
patch
obsolete
>From bb4c356086300f0d3e04a1d80b41a458c063201d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Tue, 9 Jun 2015 03:45:25 +0200 >Subject: [PATCH] [Signed-off] Bug 13950: Sort Item search home library list > by branch name >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >On the item search form the list of home libraries isn't sorted >alphabetically by their descrption. > >To test: >- Staff: Advanced search - item search >- Verify pull down for home library is correctly sorted after > applying the patch. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > catalogue/itemsearch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl >index e66aa4f..9c07d48 100755 >--- a/catalogue/itemsearch.pl >+++ b/catalogue/itemsearch.pl >@@ -242,7 +242,7 @@ if ($format eq 'html') { > > my $branches = GetBranches(); > my @branches; >- foreach my $branchcode (keys %$branches) { >+ foreach my $branchcode (sort keys %$branches) { > push @branches, { > value => $branchcode, > label => $branches->{$branchcode}->{branchname}, >-- >1.7.10.4
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 13950
:
40008
|
40023
|
40206
|
40211
|
40213