Skip to content

Commit cb4def6

Browse files
committed
Documentation of the special pagination
1 parent 2f1d55f commit cb4def6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

assets

dref/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,11 @@ def list(self, request):
638638
if excluded_codes:
639639
codes = [c for c in codes if c and c.upper() not in excluded_codes]
640640

641+
# NOTE: Ordering and pagination are applied to the appeal codes, not the response objects.
642+
# As a result, the number of response items may vary. This is expected behavior.
643+
# This is a temporary limitation. In the future, we plan to apply standard
644+
# ordering and pagination to the response objects table once an optimized
645+
# layer is available to support it.
641646
codes = self._order_codes(codes, request)
642647
codes = self._paginate_codes(codes, request)
643648

0 commit comments

Comments
 (0)