forked from friendica/friendica-addons
Merge pull request #959 from MrPetovan/task/8293-forumdirectory-updates
[forumdirectory] Add L10n parameter to Pager constructor call
This commit is contained in:
commit
ca3213b394
|
@ -81,7 +81,7 @@ function forumdirectory_content(App $a)
|
||||||
|
|
||||||
$sql_extra = " AND ((`profile`.`name` LIKE '%$search%') OR
|
$sql_extra = " AND ((`profile`.`name` LIKE '%$search%') OR
|
||||||
(`user`.`nickname` LIKE '%$search%') OR
|
(`user`.`nickname` LIKE '%$search%') OR
|
||||||
(`profile`.`pdesc` LIKE '%$search%') OR
|
(`profile`.`about` LIKE '%$search%') OR
|
||||||
(`profile`.`locality` LIKE '%$search%') OR
|
(`profile`.`locality` LIKE '%$search%') OR
|
||||||
(`profile`.`region` LIKE '%$search%') OR
|
(`profile`.`region` LIKE '%$search%') OR
|
||||||
(`profile`.`country-name` LIKE '%$search%') OR
|
(`profile`.`country-name` LIKE '%$search%') OR
|
||||||
|
@ -99,7 +99,7 @@ function forumdirectory_content(App $a)
|
||||||
$total = $cnt['total'];
|
$total = $cnt['total'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$pager = new Pager(DI::args()->getQueryString(), 60);
|
$pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 60);
|
||||||
|
|
||||||
$order = " ORDER BY `name` ASC ";
|
$order = " ORDER BY `name` ASC ";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue