Closed (won't fix)
Project:
Ban
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jun 2020 at 13:08 UTC
Updated:
2 Apr 2026 at 10:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #6
pagaille commentedComment #7
promesThanks, It works.
Comment #8
pagaille commentedGlad to hear it! Here's a patch for convenience.
Comment #10
prasanth_kp commentedThanks for the patch,
Its working perfectly fine, Now displays 50 records per page instead of all records on a single page.
Comment #11
alexpottI think we need to implement this in the BanAdmin class. Making this change of behaviour to findAll() - so that it no longer findsAll doest seem like a change in accord with our BC rules or a good one in light of the API... see
would no longer be true.
Perhaps in the interests of encapsulation we can add a pager method to BanIpManagerInterface so that all the interaction with the table is via the BanManager and an alternate backend could implement this.
Comment #14
quietone commentedThe Ban Module was approved for removal in #1570102: [Policy] Deprecate Ban module.
This remains Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3482198: [meta] Tasks to deprecate the Ban module and the removal work in #3488827: [meta] Tasks to remove Ban module.
Ban will be moved to a contributed project after the Drupal 12.x branch is open.
Comment #15
johnvComment #17
mstrelan commentedMoved to contrib queue
Comment #18
anybodyComment #21
anybodyComment #22
anybodyComment #23
anybodyComment #24
anybodyPlease use a MR instead of a patch here for further review. Also see #11.
#3575759: Add (starts with) filtering for banned IPs table is related.
Comment #25
anybodyMaybe we should consider NOT adding a pager to be able to filter directly on the page, see #3575759: Add (starts with) filtering for banned IPs table. Might simplify things and it seems a pager wasn't really needed in the last 10 years? :D
What do the other maintainers think about it?
Comment #26
anybodyIndeed I'd vote to close this won't fix, as "good enough" and smart. Especially once we have a collapsible field group around the large list.
Comment #27
grevil commentedI agree!
Comment #28
anybody