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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Sep 28 10:01:26 2024 UTC