Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] Fix a bug in sup-tweak-label when multiple sources are given.
@ 2009-03-16 18:41 Nicolas Pouillard
  2009-03-23 14:54 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Pouillard @ 2009-03-16 18:41 UTC (permalink / raw)


Resent...

---
 bin/sup-tweak-labels |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/sup-tweak-labels b/bin/sup-tweak-labels
index 4d1313e..0beb77e 100644
--- 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

-- 
Nicolas Pouillard


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sup-talk] [PATCH] Fix a bug in sup-tweak-label when multiple sources are given.
  2009-03-16 18:41 [sup-talk] [PATCH] Fix a bug in sup-tweak-label when multiple sources are given Nicolas Pouillard
@ 2009-03-23 14:54 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2009-03-23 14:54 UTC (permalink / raw)


Applied directly to master, thanks!
-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-23 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-16 18:41 [sup-talk] [PATCH] Fix a bug in sup-tweak-label when multiple sources are given Nicolas Pouillard
2009-03-23 14:54 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox