Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple pages search #4

Open
GoogleCodeExporter opened this issue Jan 11, 2016 · 1 comment
Open

Multiple pages search #4

GoogleCodeExporter opened this issue Jan 11, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 25 Dec 2010 at 9:41

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 5 May 2011 at 6:13

  • Changed state: Accepted

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

No branches or pull requests

1 participant