Commit ebe41c4b authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 578531: Move the chfield stuff out of init, and make

the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner)
parent ccd7071e
...@@ -426,14 +426,7 @@ use constant KNOWN_BROKEN => { ...@@ -426,14 +426,7 @@ use constant KNOWN_BROKEN => {
'changedbefore' => { 'changedbefore' => {
CHANGED_BROKEN, CHANGED_BROKEN,
'attach_data.thedata' => { contains => [1] }, 'attach_data.thedata' => { contains => [1] },
creation_ts => { contains => [1,5] }, creation_ts => { contains => [1,2,5] },
# attachments.* finds values where the date matches exactly.
'attachments.description' => { contains => [2] },
'attachments.filename' => { contains => [2] },
'attachments.isobsolete' => { contains => [2] },
'attachments.ispatch' => { contains => [2] },
'attachments.isprivate' => { contains => [2] },
'attachments.mimetype' => { contains => [2] },
}, },
'changedafter' => { 'changedafter' => {
'attach_data.thedata' => { contains => [2,3,4] }, 'attach_data.thedata' => { contains => [2,3,4] },
...@@ -854,18 +847,18 @@ use constant TESTS => { ...@@ -854,18 +847,18 @@ use constant TESTS => {
], ],
changedbefore => [ changedbefore => [
{ contains => [1], value => '<2-delta>', { contains => [1], value => '<1-delta>',
override => { override => {
CHANGED_OVERRIDE, CHANGED_OVERRIDE,
creation_ts => { contains => [1,5] }, creation_ts => { contains => [1,2,5] },
blocked => { contains => [1,2] }, blocked => { contains => [1,2] },
dependson => { contains => [1,3] }, dependson => { contains => [1,3] },
longdesc => { contains => [1,2,5] }, longdesc => { contains => [1,5] },
} }
}, },
], ],
changedafter => [ changedafter => [
{ contains => [2,3,4], value => '<1-delta>', { contains => [2,3,4], value => '<2-delta>',
override => { override => {
CHANGED_OVERRIDE, CHANGED_OVERRIDE,
creation_ts => { contains => [2,3,4] }, creation_ts => { contains => [2,3,4] },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment