diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-03-01 16:19:05 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-03-01 16:19:05 +0100 |
commit | 86d6af6970a887fa12ee65aacdb9086836d773fd (patch) | |
tree | 1ccc6c4d17bb0920e6c6d5fd115f5e09e0c07eac /xt/lib/Bugzilla/Test/Search/FieldTest.pm | |
parent | fbeb99dbd2cf3fc492f0af382e7b0f4bed940678 (diff) | |
download | bugzilla-86d6af6970a887fa12ee65aacdb9086836d773fd.tar.gz bugzilla-86d6af6970a887fa12ee65aacdb9086836d773fd.tar.xz |
Bug 616341: Make "tag" a valid search field in Search.pm, for the new
tagging system
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search/FieldTest.pm')
-rw-r--r-- | xt/lib/Bugzilla/Test/Search/FieldTest.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/FieldTest.pm b/xt/lib/Bugzilla/Test/Search/FieldTest.pm index e57fd2a59..400ca3263 100644 --- a/xt/lib/Bugzilla/Test/Search/FieldTest.pm +++ b/xt/lib/Bugzilla/Test/Search/FieldTest.pm @@ -350,6 +350,9 @@ sub _field_values_for_bug { elsif ($field eq 'see_also') { @values = $self->_values_for($number, 'see_also', 'name'); } + elsif ($field eq 'tag') { + @values = $self->_values_for($number, 'tags'); + } # Bugzilla::Bug truncates creation_ts, but we need the full value # from the database. This has no special value for changedfrom, # because it never changes. |