Commit 7a7c2042 authored by Francois Marier's avatar Francois Marier
Browse files

Friend search: json-based pagination fix



To reproduce the bug this fixes:
- create more than 10 users
- set one of them to automatically approve friend requests
- go to "find users" and click "next" to go to the second page
- click "previous" to go back to the first page (doesn't work)

Thanks to Ruslan Kabalin for solving this one!

(eduforge #3441)
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 5ad6d4ba
......@@ -29,6 +29,7 @@ define('INTERNAL', 1);
define('JSON', 1);
require(dirname(dirname(__FILE__)) . '/init.php');
require('pieforms/pieform.php');
require('searchlib.php');
$query = param_variable('query', '');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment