From be6873d21d2049d2096f83a51d1bd75058f72cfc Mon Sep 17 00:00:00 2001 From: Mike Colagrosso Date: Sun, 30 Jun 2024 14:08:41 -0600 Subject: [PATCH] Remove distinct from query in GetEbookCollections The point of the commits in #374, e.g., the new `CollectionEbooks` table, was so that `distinct` wasn't needed. --- lib/Library.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Library.php b/lib/Library.php index a908b443..1cca1234 100644 --- a/lib/Library.php +++ b/lib/Library.php @@ -158,7 +158,7 @@ class Library{ */ public static function GetEbookCollections(): array{ $collections = Db::Query(' - SELECT distinct UrlName, Name + SELECT * from Collections ', [], Collection::class);