Follow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage
authorBrian Wolff <bawolff+wn@gmail.com>
Tue, 29 Dec 2015 07:55:21 +0000 (02:55 -0500)
committerBrian Wolff <bawolff+wn@gmail.com>
Thu, 3 Mar 2016 20:53:55 +0000 (15:53 -0500)
commitb89e3dd182688d674f945e285280999da7488042
tree38f6865a8602038df1f82e363f8d37247855e7e5
parent379bffe9055631dd259b52e48b3175725da31ff5
Follow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage

Fix some rather embarrassing mistakes. See comments on e33d6f45a.

Also change the behaviour when someone sets an offset higher than
max allowed. Returning a page with 0 results and broken prev/next
links is poor UI imo.

Change-Id: Ibfc983675ae0c600eeccd5e361550e9b5f96f5fd
includes/specialpage/QueryPage.php