php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11636 udm_set_agent_param($agent,UDM_PARAM_PAGE_NUM,$num) Doesn't set the active page
Submitted: 2001-06-23 22:25 UTC Modified: 2001-07-04 03:17 UTC
From: rhanic at yahoo dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.6 OS: Linux 2.2.16
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rhanic at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-06-23 22:25 UTC] rhanic at yahoo dot com
After calling udm_find( $agent,"search string") ;

I can loop through the first 20 results (page size=20).
Then after that I cannot set the page using

udm_set_agent_param($agent,UDM_PARAM_PAGE_NUM,$num) 

It keeps returning the same page results (ie: 1-20).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-04 03:17 UTC] gluke@php.net
It is not the bug.

You should call Udm_Free_Res and then Udm_Find again to get other pages. Or you can set a big number at UDM_PARAM_PAGE_NUM before Udm_Find for example.

The search is very highly optimized to get only UDM_PARAM_PAGE_NUM results.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC