commit dd8dc5e703b9880d10427a1c70b4f7adcdfa2479
parent 095bd0414c14c042e2c13a019b70b7bde35605f0
Author: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Date: Mon, 16 Mar 2009 19:41:08 +0100
Fix a bug in sup-tweak-label when multiple sources are given.
Resent...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup-tweak-labels b/bin/sup-tweak-labels
@@ -71,7 +71,7 @@ begin
end.map { |s| s.id }
Trollop::die "nothing to do: no sources" if source_ids.empty?
- query = "+(" + source_ids.map { |id| "source_id:#{id}" }.join(" ") + ")"
+ query = "+(" + source_ids.map { |id| "source_id:#{id}" }.join(" OR ") + ")"
if add_labels.empty?
## if all we're doing is removing labels, we can further restrict the
## query to only messages with those labels