New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WAGTAILIMAGES_CHOOSER_PAGE_SIZE setting has no effect #11813
Labels
Comments
enzedonline
added
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
labels
Apr 2, 2024
I can confirm the issue exists. The problem isn't limited to the image chooser; it's also affecting the snippets and documents choosers. This issue arises due to a naming conflict between the |
lb-
added
component:Images
component:Choosers
Modal choosers for Page, Snippet and other models
and removed
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
labels
Apr 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Using the WAGTAILIMAGES_CHOOSER_PAGE_SIZE setting has no effect on image chooser pagination size.
I've set a breakpoint in
BaseImageChooseView.__init__()
and confirmed thatper_page
gets the correct custom setting. Setting a breakpoint inBaseImageChooseView.get_context_data()
andwagtailimages/chooser/chooser,html
,per_page
is 10.Steps to Reproduce
Add setting to base.py with any valid integer value.
Model image count per page remains fixed at 10.
Technical details
The text was updated successfully, but these errors were encountered: