From 4dff5e717509f7d1ea9268acfd70c702d4deb120 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 16 Feb 2020 13:06:06 -0500 Subject: [PATCH 1/2] [forumdirectory] Replace profile.pdesc by profile.about --- forumdirectory/forumdirectory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index 2d07c8292..aa760cf02 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -81,7 +81,7 @@ function forumdirectory_content(App $a) $sql_extra = " AND ((`profile`.`name` LIKE '%$search%') OR (`user`.`nickname` LIKE '%$search%') OR - (`profile`.`pdesc` LIKE '%$search%') OR + (`profile`.`about` LIKE '%$search%') OR (`profile`.`locality` LIKE '%$search%') OR (`profile`.`region` LIKE '%$search%') OR (`profile`.`country-name` LIKE '%$search%') OR From 9c092d5c404872e4f7b9366f38a94a5ca51d76af Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 16 Feb 2020 13:06:30 -0500 Subject: [PATCH 2/2] [forumdirectory] Add L10n parameter to Pager constructor call --- forumdirectory/forumdirectory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index aa760cf02..93c57564f 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -99,7 +99,7 @@ function forumdirectory_content(App $a) $total = $cnt['total']; } - $pager = new Pager(DI::args()->getQueryString(), 60); + $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 60); $order = " ORDER BY `name` ASC ";