RC Filters: Support multiple tag filters
authorStephane Bisson <sbisson@wikimedia.org>
Tue, 2 May 2017 19:29:24 +0000 (15:29 -0400)
committerStephane Bisson <sbisson@wikimedia.org>
Tue, 2 May 2017 19:29:24 +0000 (15:29 -0400)
Bug: T164133
Change-Id: Id9404940644197bac235202a45324b201613303d

includes/changetags/ChangeTags.php

index ca3c28b..46cae8f 100644 (file)
@@ -660,7 +660,7 @@ class ChangeTags {
 
                        $tables[] = 'change_tag';
                        $join_conds['change_tag'] = [ 'INNER JOIN', $join_cond ];
-                       $conds['ct_tag'] = $filter_tag;
+                       $conds['ct_tag'] = explode( ',', $filter_tag );
                }
        }