← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 264: engine.vala: add comment about subject templates being AND'ed

 

------------------------------------------------------------
revno: 264
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Sun 2011-09-18 14:22:59 +0200
message:
  engine.vala: add comment about subject templates being AND'ed
modified:
  src/engine.vala


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/engine.vala'
--- src/engine.vala	2011-09-18 12:10:22 +0000
+++ src/engine.vala	2011-09-18 12:22:59 +0000
@@ -867,6 +867,8 @@
                     where.add_text_condition ("event_origin_uri", val, negated);
             }
 
+            // Subject templates within the same event template are AND'd
+            // See LP bug #592599.
             for (int i = 0; i < template.num_subjects(); ++i)
             {
                 Subject subject_template = template.subjects[i];