Skip to content
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

The Sync Now Button does not work properly #16

Closed
Muwak77 opened this issue Sep 29, 2023 · 1 comment · Fixed by #17
Closed

The Sync Now Button does not work properly #16

Muwak77 opened this issue Sep 29, 2023 · 1 comment · Fixed by #17

Comments

@Muwak77
Copy link

Muwak77 commented Sep 29, 2023

image

The reason for this is, that Foundry 11 has a default limit in the game.documentIndex.lookup() Method.

Fixed it by changing

let entries = game.documentIndex.lookup('', {documentTypes: document_types});

to

let entries = game.documentIndex.lookup('', {documentTypes: document_types,limit:1000000});

maybe you can also

let entries = game.documentIndex.lookup('', {documentTypes: document_types,limit:0});

does the trick, but again, i hat limited time for testing :)

@jtracey
Copy link
Owner

jtracey commented Oct 26, 2023

@Muwak77 thanks for pointing in the right direction. 😃 There was another problem, but the resolution was fairly similar to your recommendation in #14. Expect a release with a fix soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants