From 12a601d903aa0e9c63184f7ec2f0bb4f0dd04f6b Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Fri, 23 May 2003 05:55:52 +0000
Subject: Bug 37749 - query for changes to specific field in last n days not
working. Rearrange time-based query UI to be more sane. Patch by
mailto:anthony@itia.ntua.gr; r=gerv.
---
template/en/default/search/form.html.tmpl | 27 +++++++++---------------
template/en/default/search/search-help.html.tmpl | 15 ++++++++-----
2 files changed, 20 insertions(+), 22 deletions(-)
(limited to 'template/en')
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index efc5dd0b2..3ebe01f05 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -726,12 +726,13 @@ function selectProduct(f) {
-
diff --git a/template/en/default/search/search-help.html.tmpl b/template/en/default/search/search-help.html.tmpl
index 557209690..852955533 100644
--- a/template/en/default/search/search-help.html.tmpl
+++ b/template/en/default/search/search-help.html.tmpl
@@ -81,16 +81,21 @@
{ id => "votes",
html => "Some bugs can be voted for, and you can limit your search to bugs
with more than a certain number of votes." },
-{ id => "changedin",
- html => "You can search by when bugs have changed - this field defines the
- timeframe for the search." },
{ id => "chfield",
html => "You can search for specific types of change - this field define
which field you are interested in changes for." },
{ id => "chfieldfrom",
- html => "The start time of the timeframe for the change." },
+ html => "Specify the start and end dates either in YYYY-MM-DD format
+ (optionally followed by HH:mm, in 24 hour clock), or in relative
+ dates such as 1d, 2w, 3m, 4y, which respectively mean one day,
+ two weeks, three months, or four years ago. 0d is last midnight,
+ and 0w, 0m, 0y is the beginning of this week, month, or year." },
{ id => "chfieldto",
- html => "The end time of the timeframe for the change." },
+ html => "Specify the start and end dates either in YYYY-MM-DD format
+ (optionally followed by HH:mm, in 24 hour clock), or in relative
+ dates such as 1d, 2w, 3m, 4y, which respectively mean one day,
+ two weeks, three months, or four years ago. 0d is last midnight,
+ and 0w, 0m, 0y is the beginning of this week, month, or year." },
{ id => "chfieldvalue",
html => "The value the field defined above changed to during that time." },
] %]
--
cgit v1.2.3-24-g4f1b