diff options
author | lpsolit%gmail.com <> | 2005-11-15 18:37:17 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-15 18:37:17 +0100 |
commit | 9410caae8b2f32207a5ab6146c0c49333ab7e366 (patch) | |
tree | 792bcb4aaad25b6947a8af99868b3ac56685d25f /Bugzilla | |
parent | ea20355dfe228f3346f331df521fcfc54cb71fc2 (diff) | |
download | bugzilla-9410caae8b2f32207a5ab6146c0c49333ab7e366.tar.gz bugzilla-9410caae8b2f32207a5ab6146c0c49333ab7e366.tar.xz |
Bug 302599: Saved searches using "days since bug changed" fail with "Can't use (to_days(now()) - to_days(bugs.delta_ts)) as a field name" error - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index cc24d11e0..da6c90e9a 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -880,7 +880,7 @@ sub init { $f = "setters_$chartid.login_name"; }, - "^changedin," => sub { + "^(changedin|days_elapsed)," => sub { $f = "(" . $dbh->sql_to_days('NOW()') . " - " . $dbh->sql_to_days('bugs.delta_ts') . ")"; }, |