Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

Migx config limits records to 100 in the manager resource by default #308

Open 5koder opened 6 years ago

5koder commented 6 years ago

MODX: 2.6.1 MIGX: 2.11.0

I followed the instructions for the gallery here: https://docs.modx.com/extras/revo/migx/migx.tutorials/migx.use-resource-specific-mediasource-and-multifile-uploader

I am able to upload more than 100 images at a time but they are not shown in the manager or front end. If I delete image record ID 1... image record ID 101 will appear. If I try to upload more images they also don't appear.

I have tried changing maxRecords. There is obviously something else limiting it.

P.S Also tried this in an older version of MODX+MIGX. Shows same issue.

JFizzer commented 6 years ago

I ran into the same thing and I did find on line 27 of components/migx/processors/mgr/loadfromsource.class.php a staticaly set value of limit=100.. changing that seams to have remedied it for me.

5koder commented 6 years ago

@JFizzer Thanks will try that. @Bruno17 Please make this a setting