X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/907aba88951334676a259dccc8f7edd8934d5e00..96e236bc692fe1449b14739e4be3fdc6c3bd92ce:/src/catalogue/views.py?ds=sidebyside diff --git a/src/catalogue/views.py b/src/catalogue/views.py index ef2527b59..aeed403ab 100644 --- a/src/catalogue/views.py +++ b/src/catalogue/views.py @@ -449,7 +449,7 @@ def tag_catalogue(request, category): def collections(request): - objects = Collection.objects.filter(role='') + objects = Collection.objects.all() if len(objects) > 3: best = random.sample(list(objects), 3)