Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
5977f8c2
Commit
5977f8c2
authored
May 12, 2010
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 486050: Bugzilla should prefill quicksearch box when showing search results from a quicksearch
r/a=mkanat
parent
955abb3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
buglist.cgi
buglist.cgi
+3
-0
common-links.html.tmpl
template/en/default/global/common-links.html.tmpl
+2
-1
No files found.
buglist.cgi
View file @
5977f8c2
...
...
@@ -1163,6 +1163,9 @@ if ($dotweak && scalar @bugs) {
# the "Remember search as" field.
$vars
->
{
'defaultsavename'
}
=
$cgi
->
param
(
'query_based_on'
);
# If we did a quick search then redisplay the previously entered search
# string in the text field.
$vars
->
{
'quicksearch'
}
=
$searchstring
;
################################################################################
# HTTP Header Generation
...
...
template/en/default/global/common-links.html.tmpl
View file @
5977f8c2
...
...
@@ -34,7 +34,8 @@
onsubmit="if (this.quicksearch.value == '')
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input class="txt" type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch">
<input class="txt" type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch"
value="[% quicksearch FILTER html %]">
<input class="btn" type="submit" value="Search"
id="find[% qs_suffix FILTER html %]">
[%-# Work around FF bug: keep this on one line %]</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment