Bugzilla – Attachment 3220 Details for
Bug 5812
Tag Cloud - capitalized words come before lower-case words
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-5812-Tag-Cloud-capitalized-words-come-be.patch (text/plain), 903 bytes, created by
Owen Leonard
on 2011-02-25 15:17:51 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-02-25 15:17:51 UTC
Size:
903 bytes
patch
obsolete
>From c214dae526d08190ae314735ee981f53ad75d751 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 25 Feb 2011 10:16:40 -0500 >Subject: [PATCH] Fix for Bug 5812 - Tag Cloud - capitalized words come before lower-case words >Content-Type: text/plain; charset="utf-8" > >--- > opac/opac-tags.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl >index b98ce40..b5ce340 100755 >--- a/opac/opac-tags.pl >+++ b/opac/opac-tags.pl >@@ -293,7 +293,7 @@ if ($add_op) { > } > } > (scalar @errors ) and $template->param(ERRORS => \@errors); >-my @orderedresult = sort { $a->{'term'} cmp $b->{'term'} } @$results; >+my @orderedresult = sort { uc($a->{'term'}) cmp uc($b->{'term'}) } @$results; > (scalar @$results) and $template->param(TAGLOOP => \@orderedresult ); > (scalar @$my_tags) and $template->param(MY_TAGS => $my_tags); > >-- >1.7.3 >
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 5812
: 3220