Skip to content

Multiple pages search #4

@GoogleCodeExporter

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions