# HG changeset patch # User Raphael Velt # Date 1365611901 -7200 # Node ID ac8b456b8874c3f8fd96f27a1da119d4e3cb1bb0 # Parent f0d599e75860edf34ab1ebf012038204795864ba search api's rpp is now count in api 1.1 diff -r f0d599e75860 -r ac8b456b8874 web/res/js/live-polemic.js --- a/web/res/js/live-polemic.js Wed Apr 10 18:13:54 2013 +0200 +++ b/web/res/js/live-polemic.js Wed Apr 10 18:38:21 2013 +0200 @@ -140,7 +140,7 @@ options.rpp || (options.rpp = 100); options.currentPage = 0; var baseurl = "search_tweets.php", - firstparams = "?q=" + encodeURIComponent(options.keyword)+ "&rpp=" + options.rpp + firstparams = "?q=" + encodeURIComponent(options.keyword)+ "&count=" + options.rpp + (options.lang ? "&lang=" + options.lang : '' ), lastparams = (options.since_id ? "&since_id=" + options.since_id : '' ), jsonurl = baseurl + firstparams + lastparams;