# HG changeset patch # User veltr # Date 1329328797 -3600 # Node ID 17a9402e2dc31dcaef65dd4e66110f8bb3343e9c # Parent 82b4715202d11875cac8c93beff4c65bb3b78d6b minor change diff -r 82b4715202d1 -r 17a9402e2dc3 client/podium-cp-tweets.html --- 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 '
  • '