Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Request #8969 excludeVars with extraVars at the same time
Submitted: 2006-10-11 14:05 UTC
From: freon at post dot cz Assigned: quipo
Status: Closed Package: Pager (version 2.4.2)
PHP Version: 5.0.4 OS: CentOS
Roadmaps: (Not assigned)    
Subscription  


 [2006-10-11 14:05 UTC] freon at post dot cz (Marek Blazek)
Description: ------------ Item set in excludeVars array is removed from URL even if it is set at the same time in extraVars array. Test script: --------------- $_SERVER['QUERY_STRING'] = 'xxx&page=1'; $sections = array ('xxx', 'yyy', 'zzz'); $params = array ('excludeVars' = $sections); for (i=0; i<count($sections); $i++) { $params['extraVars'] = array ($sections[$i]); $pgr =& Pager::factory($params); . . . } Expected result: ---------------- Query string in pager for section xxx: ...?xxx&page=1 Query string in pager for section yyy: ...?yyy&page=1 Query string in pager for section zzz: ...?zzz&page=1 Actual result: -------------- Query string in all pagers: ...?page=1

Comments

 [2006-10-11 16:01 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!