--- a/client/podium-cp-tweets.html Wed Feb 15 18:52:07 2012 +0100
+++ b/client/podium-cp-tweets.html Wed Feb 15 18:59:57 2012 +0100
@@ -53,14 +53,15 @@
});
myPodium = new Btv_Podium([0,0,0,0]);
myTweetSource.setTweetsCallback(function() {
- $("#btv-cp-nb-tweets").html(this.count());
+ var _filtered = this.afterDate(tzero);
+ $("#btv-cp-nb-tweets").html(_filtered.count());
var _counts = [];
for (var _i = 0; _i < _keywords.length; _i++) {
- _counts.push(this.search(_keywords[_i]).count());
+ _counts.push(_filtered.search(_keywords[_i]).count());
}
myPodium.update(_counts);
$('#btv-cp-liste-tweets-tout').html(
- this.reverse().slice(0,20).map(function(_t) {
+ _filtered.reverse().slice(0,20).map(function(_t) {
return '<li onclick="addTweet(\''
+ _t.id_str
+ '\'); return false;"><a title="Ajouter à la sélection" href="#"><span class="btv-cp-tweet-date">'