fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add can_sell
[wolnelektury.git]
/
src
/
catalogue
/
api
/
views.py
diff --git
a/src/catalogue/api/views.py
b/src/catalogue/api/views.py
index
a4c0173
..
3449339
100644
(file)
--- a/
src/catalogue/api/views.py
+++ b/
src/catalogue/api/views.py
@@
-190,7
+190,7
@@
class BookFilter(dfilters.FilterSet):
sort = dfilters.OrderingFilter(
fields=(
('sort_key_author', 'alpha'),
- ('popularity', 'popularity'),
+ ('popularity
__count
', 'popularity'),
)
)
tag = dfilters.ModelMultipleChoiceFilter(