diff options
author | Byron Jones <bjones@mozilla.com> | 2013-06-11 15:54:27 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-06-11 15:54:27 +0200 |
commit | b9915abd8c37fd3c48a84ab8463c9765b6e20814 (patch) | |
tree | ae9ca8ea2375f9021da027582bcfc6d8d0e9767f /extensions/BMO/lib/Data.pm | |
parent | 66a43117a9e24a81c03ad2200f3f8d586cfa17fa (diff) | |
download | bugzilla-b9915abd8c37fd3c48a84ab8463c9765b6e20814.tar.gz bugzilla-b9915abd8c37fd3c48a84ab8463c9765b6e20814.tar.xz |
Bug 860810: Add a default search to new users' saved searches that appear in the footer
Diffstat (limited to 'extensions/BMO/lib/Data.pm')
-rw-r--r-- | extensions/BMO/lib/Data.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index 3b0e94e5f..ff88b8ef7 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -38,7 +38,8 @@ our @EXPORT = qw( $cf_visible_in_products @always_fileable_groups %group_auto_cc %product_sec_groups - %create_bug_formats ); + %create_bug_formats + @default_named_queries ); # Which custom fields are visible in which products and components. # @@ -475,4 +476,12 @@ our %create_bug_formats = ( }, ); +# List of named queries which will be added to new users' footer +our @default_named_queries = ( + { + name => 'Bugs Filed Today', + query => 'query_format=advanced&chfieldto=Now&chfield=[Bug creation]&chfieldfrom=-24h&order=bug_id', + }, +); + 1; |