Table Records : Limit
Created 6 years ago by william

So when i scaffold a new module. The table has no default limit set. Its not using my preferred setting for pagination either. So i basically see all records in the table.

If i use options, and set limit to 5, that works:

protected $options = [
        'limit'=>'5'
    ];

But this is not documented in table here: https://pyrocms.com/documentation/streams-platform/1.3/ui/tables

Which makes me wonder if its just missing, or wrong way of handle this?

Now, if i do have a preferred pagination of 10, shouldn't that override this limit of 5 i have set? I think it would be annoying if you have set it to 20 because you don't always want x results everywhere. But then you still need to change it in this module.