ImageListPager: Don't stomp on $join_conds
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Dec 2017 15:14:35 +0000 (10:14 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Dec 2017 15:14:35 +0000 (10:14 -0500)
commit149081f1a7edbb3d8c81aac779e91d08faed1a99
tree09f755608c3ce8d2b0551bdadac66286f8134d36
parenta22e51d78342d3d6102c4f4fe247f81445e4e807
ImageListPager: Don't stomp on $join_conds

When adding a join to the oldimage table to get counts, don't stomp on
any existing values in $join_conds. Just add the condition.

Bug: T182245
Change-Id: I4cd3332355f9974bdf35dc083be5bba537fcfb5f
includes/specials/pagers/ImageListPager.php