summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-09-03 08:06:29 +0200
committerByron Jones <glob@mozilla.com>2014-09-03 08:06:29 +0200
commite1e2ca422db2ad5c4a19c0901b6402d3a7f0b175 (patch)
tree1712ff552852b3c8c55e1d30d0374b2136afb148 /extensions/TrackingFlags
parentbd23fbfeccd49a406f6a8d99a21371ad7ade07ba (diff)
downloadbugzilla-e1e2ca422db2ad5c4a19c0901b6402d3a7f0b175.tar.gz
bugzilla-e1e2ca422db2ad5c4a19c0901b6402d3a7f0b175.tar.xz
Bug 1054138: add the ability to filter on "fields containing the string"
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/Extension.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/TrackingFlags/Extension.pm b/extensions/TrackingFlags/Extension.pm
index b107c0393..33cac7b9d 100644
--- a/extensions/TrackingFlags/Extension.pm
+++ b/extensions/TrackingFlags/Extension.pm
@@ -30,9 +30,14 @@ use JSON;
our $VERSION = '1';
BEGIN {
+ *Bugzilla::tracking_flags = \&_tracking_flags;
*Bugzilla::tracking_flag_names = \&_tracking_flag_names;
}
+sub _tracking_flags {
+ return Bugzilla::Extension::TrackingFlags::Flag->get_all();
+}
+
sub _tracking_flag_names {
return Bugzilla::Extension::TrackingFlags::Flag->get_all_names();
}