summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Series.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 02:17:26 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 02:17:26 +0200
commit609806d1f0e8a82300a6d7b3b47e09f0356217f5 (patch)
treeb5e9e020ae7e9d4ddf2e246336ecbf80850db3cb /Bugzilla/Series.pm
parentab04fe6c61b5fd55ca4b838ccb7abfd542bd2128 (diff)
downloadbugzilla-609806d1f0e8a82300a6d7b3b47e09f0356217f5.tar.gz
bugzilla-609806d1f0e8a82300a6d7b3b47e09f0356217f5.tar.xz
Bug 577089: Make convert-workflow fix the query values for series
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Series.pm')
-rw-r--r--Bugzilla/Series.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Series.pm b/Bugzilla/Series.pm
index 82735a34b..7168bcb7e 100644
--- a/Bugzilla/Series.pm
+++ b/Bugzilla/Series.pm
@@ -34,6 +34,11 @@ package Bugzilla::Series;
use Bugzilla::Error;
use Bugzilla::Util;
+# This is a hack so that we can re-use the rename_field_value
+# code from Bugzilla::Search::Saved.
+use constant DB_TABLE => 'series';
+use constant ID_FIELD => 'series_id';
+
sub new {
my $invocant = shift;
my $class = ref($invocant) || $invocant;