Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 404062 Details for
Bug 83781
looking for a bug like #80296 does not work, 80296 instead works
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-quicksearch-support-1234-bugs.patch
0001-quicksearch-support-1234-bugs.patch (text/plain), 1.38 KB, created by
SpanKY
on 2015-05-27 07:59:21 UTC
(
hide
)
Description:
0001-quicksearch-support-1234-bugs.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2015-05-27 07:59:21 UTC
Size:
1.38 KB
patch
obsolete
>From 05129a9c6ed9613313951a73b9a4208e5bbfb235 Mon Sep 17 00:00:00 2001 >From: Mike Frysinger <vapier@gentoo.org> >Date: Wed, 27 May 2015 03:57:39 -0400 >Subject: [PATCH bugzilla] quicksearch: support #1234 bugs > >Treat "#1234" just like "1234". There are open questions wrt handling of >multiple bugs (such as " #1234, 5678 ,, 666", but let's leave that for >upstream to decide). > >X-Gentoo-Bug: 83781 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/83781 >URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1168739 >--- > Bugzilla/Search/Quicksearch.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm >index 16772c2..d3ee989 100644 >--- a/Bugzilla/Search/Quicksearch.pm >+++ b/Bugzilla/Search/Quicksearch.pm >@@ -130,7 +130,7 @@ sub quicksearch { > $searchstring =~ s/(^[\s,]+|[\s,]+$)//g; > ThrowUserError('buglist_parameters_required') unless ($searchstring); > >- if ($searchstring =~ m/^[0-9,\s]*$/) { >+ if ($searchstring =~ m/^#?[0-9,\s]*$/) { > _bug_numbers_only($searchstring); > } > else { >@@ -286,6 +286,8 @@ sub _bug_numbers_only { > my $cgi = Bugzilla->cgi; > # Allow separation by comma or whitespace. > $searchstring =~ s/[,\s]+/,/g; >+ # Trim the leading # if used. >+ $searchstring =~ s/^#//; > > if ($searchstring !~ /,/) { > # Single bug number; shortcut to show_bug.cgi. >-- >2.4.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
Attachments on
bug 83781
:
404058
|
404060
| 404062