Skip to content

Multiple pages search #4

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. search some phrase and get page 0 of search results
2. search some phrase and get page 1 of search results


What is the expected output? What do you see instead?
Excepted output is results of first page when requesting first page and results 
of second page when requesting second page. Instead I got results of first page 
on first call and results of first page on second call where should be results 
of second page.

What version of the product are you using? On what operating system?
version  0.11.0

Please provide any additional information below.
First request works well. But when I get results after second call(should be 
results of second page) I guess because of this lines fresh results are not 
parsed:
public function results() 
    {
        if (empty($this->results)) {

For me, adding lines 
   unset($this->results);
   $this->results = array();
in "request" function was the solution.

Thanks.

Original issue reported on code.google.com by Sergei.B...@gmail.com on 25 Dec 2010 at 9:41

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions