Commit 909b5624 authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 306130 Search for attachment creation fails

Patch by Joel Peshkin <bugreport@peshkin.net> r,a=justfave
parent d9aee9d9
......@@ -771,6 +771,11 @@ sub init {
"ON groups_$chartid.id = bug_group_map_$chartid.group_id");
$f = "groups_$chartid.name";
},
"^attach_data\.thedata,changed" => sub {
# Searches for attachment data's change must search
# the creation timestamp of the attachment instead.
$f = "attachments.whocares";
},
"^attach_data\.thedata," => sub {
my $atable = "attachments_$chartid";
my $dtable = "attachdata_$chartid";
......
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