Object.toQueryString #2217

Closed
ibolmo opened this Issue Jan 19, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@ibolmo
Member

ibolmo commented Jan 19, 2012

(from Lighthouse)

Object.toQueryString produces ugly php Syntax:

Object.toQueryString( { a : [1,2,3] } )

->

a[0]=1&a[1]=2&a[2]=3

For what reason? When i use the Element.toQueryString on multiple select options, it results in

a=1&a=2&a=3

why is there a difference? Bug or feature? I'd really prefer the Element.toQueryString on the hash, too :)

schnix

@ibolmo ibolmo closed this Mar 3, 2014

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