Add pagination even when there
What does this MR do and why?
Add pagination even when there is no total of pages. Pagination headers won't be fully set if this condition is evaluated to true
.
EE: true
Issue has been raised in this discussion.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
No records | records within limit | records over the limit |
---|---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
- Fetch the content the branch:
add_pagination_even_without_total_pages
. - Turn on the feature flag to make
Dependency list
appear in groups:
echo "Feature.enable(:group_level_dependencies)" | rails c
- Create one project under a group with the following content:
-
.gitlab-ci.yml
:
include:
- template: Security/Dependency-Scanning.gitlab-ci.yml
-
Gemfile.lock
: with this content
- Run a pipeline for the default branch
- Go group related to the project created above and click on the menu option Secure -> Dependency list
- Change this condition to
true
in order to trigger the above threshold behaviour.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zamir Martins