Open Bug 568082 Opened 14 years ago Updated 2 years ago

The field for duplicate bug ids (dupe_of) should be added to the fielddefs table

Categories

(Bugzilla :: Database, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: dkl, Unassigned)

Details

Attachments

(1 file)

A patch is needed that will add the dup_id field to the fielddefs table.
Yeah, except I'd rather call it dupe_of, which is what it will be probably called if we move it into the bugs table.
Severity: normal → enhancement
OS: Linux → All
Hardware: x86 → All
Summary: The field for duplicate bug ids (dup_id) should be added to the fielddefs table → The field for duplicate bug ids (dupe_of) should be added to the fielddefs table
+1, dupe_of is clearer.
Simple patch to add dupe_of to Bugzilla/Field.pm. Running checksetup.pl will add it to existing or new database.
Attachment #447558 - Flags: review?(mkanat)
Comment on attachment 447558 [details] [diff] [review]
Patch to add dupe_of to fielddefs (v1)

Okay, but now you have to modify all the places that use "dup_id" to use "dupe_of" instead. Otherwise why even have this patch? I think in particular, you have to make sure this works in Search.pm as a boolean chart.
Attachment #447558 - Flags: review?(mkanat) → review-
Assignee: dkl → database
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: