garretus / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Multiple selectors don't work with filter() method #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. get a set of element like that $myPhpQuery = $myPhpQuery->find('ul')
2. filtered it with $myPhpQuery->filter('.myClass1,.myClass2')
3. this only get the element matched ".myClass1" but not those matched
".myClass2".

What is the expected output? What do you see instead?
Don't select the element which have the "myClass2" class.

What version of the product are you using? On what operating system?
r47

Please provide any additional information below.

Original issue reported on code.google.com by nicolas....@gmail.com on 9 Sep 2008 at 2:55

GoogleCodeExporter commented 8 years ago

Original comment by tobiasz....@gmail.com on 9 Sep 2008 at 4:54

GoogleCodeExporter commented 8 years ago
Thanks ;).

Original comment by nicolas....@gmail.com on 10 Sep 2008 at 8:32

GoogleCodeExporter commented 8 years ago
Fixed in dev branch. Test case added.

Original comment by tobiasz....@gmail.com on 12 Sep 2008 at 2:20

GoogleCodeExporter commented 8 years ago
Fine ^^! Good Job :).
I'll test it on monday.

Have a nice week end :).

Original comment by nicolas....@gmail.com on 12 Sep 2008 at 2:23