summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search/Saved.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search/Saved.pm')
-rw-r--r--Bugzilla/Search/Saved.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Search/Saved.pm b/Bugzilla/Search/Saved.pm
index 1511cd87b..d57dfa35b 100644
--- a/Bugzilla/Search/Saved.pm
+++ b/Bugzilla/Search/Saved.pm
@@ -287,6 +287,13 @@ sub shared_with_users {
# Simple Accessors #
####################
+use Class::XSAccessor {
+ accessors => {
+ id => __PACKAGE__->ID_FIELD,
+ name => __PACKAGE__->NAME_FIELD,
+ },
+};
+
sub url { return $_[0]->{'query'}; }
sub user {