mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
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:
parent
50aa81cb29
commit
be6873d21d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue