|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
DumKopf Smarty Rookie
Joined: 24 Sep 2007 Posts: 8
|
Posted: Tue Jul 21, 2009 1:52 am Post subject: SmartyPaginate - Get Array |
|
|
I have a form that passes an array through _GET, so the url is:
Code: | http://localhost/service/search_repairer.php?repairer_id=25&repairer_branch_id=25&status_id[]=10&status_id[]=20&status_id[]=30&status_id[]=40&status_id[]=50&status_id[]=60&status_id[]=70&status_id[]=80 |
SmartyPaginate doesn't accommodate for arrays and passes the url as:
Code: | http://localhost/service/search_repairer.php?repairer_id=63&repairer_branch_id=63&status_id=Array&next=1 |
I'm having trouble finding where the url is formed in the SP class. Anyone able to assist? |
|
Back to top |
|
DumKopf Smarty Rookie
Joined: 24 Sep 2007 Posts: 8
|
Posted: Tue Jul 21, 2009 2:47 am Post subject: |
|
|
my bad, needs to be set in SmartyPaginate::setURL when setting up, it's my fault it's not parsing the arrays correctly. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|