From bb4b70590e4655fa099bf3d2a66e7622eb729241 Mon Sep 17 00:00:00 2001 From: mikespub Date: Fri, 23 Aug 2024 13:03:28 +0200 Subject: [PATCH] use link handler for database entries - see #85 --- CHANGELOG.md | 1 + lib/Pages/PageIndex.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e53eef01..220c2f16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ x.x.x - TODO * Update language files via Gitlocalize - see PRs from @horus68 and his intrepid band of translators ;-) * Fix transparent search suggestions box - see pull request #96 from @dunxd for issue #95 by @marioscube * Catch potential null custom columns for multi-database setup - see issue #89 by @Chirishman + * Use link handler for database entries with multi-database setup - see issue #85 by @erdoking and @shaoyangx 2.7.1 - 20240526 Use external storage + settings for epubjs reader * Changes in config_default.php file: diff --git a/lib/Pages/PageIndex.php b/lib/Pages/PageIndex.php index 0679ee69..c96312f5 100644 --- a/lib/Pages/PageIndex.php +++ b/lib/Pages/PageIndex.php @@ -69,7 +69,7 @@ public function getDatabaseEntries() "cops:{$i}:catalog", str_format(localize("bookword", $nBooks), $nBooks), "text", - [ new LinkNavigation(Route::page(null, ["db" => $i])) ], + [ new LinkNavigation(Route::link($this->handler, null, ["db" => $i])) ], null, "", $nBooks