kaffa / textpattern

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

Search comments by IDs in the list shows only the first #379

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to Content > Comments
2. Search: ID ; Value: 1,2,3 for example

What is the expected output? What do you see instead?

Expected: having comments 1, 2, 3 listed
Actual result: only the comment with ID 1 is listed

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

4.5.4, but seen the same problem in 4.6

Please provide any additional information below.

In textpattern/include/txp_discuss.php, changing lines 193 and 201 this way 
should work:
'id'      => "txp_discuss.discussid in ('" .join("','", 
do_list($crit_escaped)). "')",

Original issue reported on code.google.com by cont...@clairebrione.com on 13 May 2013 at 2:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r5497.

Original comment by stefdawson on 27 Jun 2013 at 6:37