Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Release pti-o2imsdms 2.0.1 image
[pti/o2.git]
/
o2common
/
views
/
pagination_view.py
diff --git
a/o2common/views/pagination_view.py
b/o2common/views/pagination_view.py
index
9f282f2
..
2ea68b4
100644
(file)
--- a/
o2common/views/pagination_view.py
+++ b/
o2common/views/pagination_view.py
@@
-38,7
+38,7
@@
class Pagination:
def get_result(self, ret: Tuple[int, List[Serializer]]):
count = ret[0]
def get_result(self, ret: Tuple[int, List[Serializer]]):
count = ret[0]
- logger.
info
('List count: {}'.format(count))
+ logger.
debug
('List count: {}'.format(count))
ret_list = ret[1]
page_total = int(math.ceil(count/self.limit)
) if count > self.limit else 1
ret_list = ret[1]
page_total = int(math.ceil(count/self.limit)
) if count > self.limit else 1