Fixing bug where end limit would not be calculated
authormwalker <mwalker@wikimedia.org>
Mon, 24 Sep 2012 23:35:24 +0000 (16:35 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 26 Sep 2012 05:04:36 +0000 (05:04 +0000)
commitb5b55ec0262361874f9f5a607f8ed49dfda62a6b
tree2749fa292c3f2600af0523eb85d83c4bd0b9eb35
parentf5536e680b49aaf05062f954e39077b18df13a0f
Fixing bug where end limit would not be calculated

In the pager object, if the query was constructed
such that the index was a fully qualified field then
the 'past the end' index reference would not get
computed.

This is because $mIndexField stores the FQ field name
but $mPastTheEndRow is indexed on the non FQ name.
Therefore a warning would be generated due to a non
existent array key.

Change-Id: I52e1cbc8f7dad07de1ba5ba3bdfa2d107dfb4d93
includes/Pager.php