mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-10-12 05:00:47 -04:00
fix offset on next page
This commit is contained in:
parent
a4a44709b4
commit
036a097d4d
1 changed files with 1 additions and 3 deletions
|
@ -716,10 +716,8 @@ class google_api{
|
||||||
// get npt
|
// get npt
|
||||||
if(isset($json["queries"]["nextPage"][0]["startIndex"])){
|
if(isset($json["queries"]["nextPage"][0]["startIndex"])){
|
||||||
|
|
||||||
$filters["start"] = (int)$json["queries"]["nextPage"][0]["startIndex"];
|
|
||||||
|
|
||||||
unset($params["key"]);
|
unset($params["key"]);
|
||||||
$params["start"] += 10;
|
$params["start"] = (int)$json["queries"]["nextPage"][0]["startIndex"];
|
||||||
|
|
||||||
$out["npt"] =
|
$out["npt"] =
|
||||||
$this->backend->store(
|
$this->backend->store(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue