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.
This commit is contained in:
Mike Colagrosso 2024-06-30 14:08:41 -06:00 committed by Alex Cabal
parent 50aa81cb29
commit be6873d21d

View file

@ -158,7 +158,7 @@ class Library{
*/ */
public static function GetEbookCollections(): array{ public static function GetEbookCollections(): array{
$collections = Db::Query(' $collections = Db::Query('
SELECT distinct UrlName, Name SELECT *
from Collections from Collections
', [], Collection::class); ', [], Collection::class);