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

Form fieldtype loads all submissions #1346

Closed
edalzell opened this Issue Mar 24, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@edalzell

edalzell commented Mar 24, 2017

Expected behaviour

Form fieldtype loads quickly

Actual behaviour

When you have a lot of submissions the form fieldtype is slow because it loads all the submissions.

Steps to reproduce

  1. Put a form fieldtype in an addon's settings
  2. Have lots of submissions
  3. Load the addon settings page
@danielfowler

This comment has been minimized.

danielfowler commented Jun 9, 2017

So would this also affect saving a page in CP, even if that page's fieldset doesn't have a form fieldtype in it?

@edalzell

This comment has been minimized.

edalzell commented Jun 9, 2017

Maaaaaaybe? Saving could just be a cache issue as it has to update the cache (which has > 1000 entries in it).

Easiest way to confirm that is to remove the submissions and see if that speeds up the saving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment